How to make a figure larger than fullscreen?
19 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
Image Analyst
2016-7-13
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.
0 个评论
Brett Mather
2018-4-11
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?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!