How can I standardize figure sizes
54 次查看(过去 30 天)
显示 更早的评论
Hiya,
I want my figures to all be created in the same dimension. Currently my figures are the size of the window it opens in (which are usually quite small) and I have to stretch it out. Is there a way for them to open up a preset size?
Thanks
Yewande
0 个评论
采纳的回答
更多回答(1 个)
Joseph Cheng
2015-5-21
Use the set() function and parameters 'position' and 'units'.
%example:
figure;
set(gcf,'units','normalized','position',[0 0 1 1])
will make the figure window full sized
另请参阅
类别
在 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!