How to generate the figure of subplot with consistent size?
Afficher commentaires plus anciens
I would like to know how to generate the figure of subplot with consistent size. This is becuase after I generate the figures of subplot from different computers (different computers have different monitor and resolution) and save them, the size of subplot in different figures appears to be different.
I think that there is command to control the size to be consistent so that I can save figures of subplot with consistent size no matter different computer is used to generate and save the figures, but I do not know that command. Does anyone know about that?
Thanks for your kind attention...
Réponses (2)
nanren888
le 28 Jan 2012
0 votes
Look for position properties in the figures. You can get & set them with the figure & axis handles.
Daniel Shub
le 28 Jan 2012
Before running your code, right when you start MATLAB, or added to your startup.m
x = get(0, 'DefaultFigurePosition');
set(0, 'DefaultFigurePosition', [x(1:2), 800, 600]);
3 commentaires
Frank Lau
le 7 Fév 2012
Daniel Shub
le 7 Fév 2012
Are you comparing on screen size? Are you figures identical (same axis limits and labels)?
Frank Lau
le 8 Fév 2012
Catégories
En savoir plus sur Subplots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!