How can I standardize figure sizes
34 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yewande Oni
am 21 Mai 2015
Kommentiert: Yewande Oni
am 21 Mai 2015
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Joseph Cheng
am 21 Mai 2015
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
5 Kommentare
Siehe auch
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!