How to make a figure larger than fullscreen?

28 visualizzazioni (ultimi 30 giorni)
Anthony Barone
Anthony Barone il 13 Lug 2016
Risposto: Brett Mather il 11 Apr 2018
I am trying to generate figures larger than my current screen resolution, and matlab doesnt seem to let me. I have a 1080p screen. So far I have tried:
figure('outerposition',[0 0 3840 1080])
figure('Position',[0 0 3840 1080])
figure('units','normalized','outerposition',[0 0 2 1])
figure('units','normalized','Position',[0 0 2 1])
hfig=figure; hfig.Position=[0 0 3840 1920];
hfig=figure; hfig.Units='Normalized'; hfig.Position=[0 0 2 1];
hfig=figure; set(hfig, 'units', 'normalized', 'Position', [0 0 2 1])
hfig=figure; set(hfig,'Position', [0 0 3840 1080])
Every single one of these commands still limits the figure size to 1920x1080. This is true even when I have a second display plugged into the computer (also 1080p). Any suggestions how to make this work?
I have matlab 2016a.

Risposte (2)

Image Analyst
Image Analyst il 13 Lug 2016
It's not allowed. It's the operating system that doesn't allow it. Just try it with any application. You won't be able to resize any window, not just ones having to do with MATLAB, to be taller or wider than your screen, at least not with Windows. So it's not a MATLAB problem.

Brett Mather
Brett Mather il 11 Apr 2018
This seems to be a fake limitation, because If I connect to a large external monitor, run Matlab, then disconnect the monitor, Matlab is able to make figures larger than the screen size. Is there any way I can trick Matlab into thinking I have a larger screen than I really do?

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by