"print" saves image with tiny title/xlabel
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi
I'm trying to save a figure using 'print' but this process doesn't preserve the image/text proportions that are on my screen. If the image is scaled down to the size I specified when creating the figure handle, then the title is unreadably small. Is there a way to use print to save a .tif file as it appears on my screen?
I've had a read of the MATLAB help but can't get my head around the article which seems to be written with actual printers in mind.
Regards, Mike
0 commentaires
Réponses (2)
Thorsten
le 20 Fév 2013
Modifié(e) : Thorsten
le 20 Fév 2013
To export figures nicely, you may want to have a look at http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig
1 commentaire
Image Analyst
le 20 Fév 2013
I agree, as does the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_save_my_figure.2C_axes.2C_or_image.3F_I.27m_having_trouble_with_the_built_in_MATLAB_functions. You can also change the size of titles and axes labels and other text with the 'FontSize' option:
title('This is the top caption of my plot', 'FontSize', 30);
Azzi Abdelmalek
le 20 Fév 2013
Modifié(e) : Azzi Abdelmalek
le 20 Fév 2013
Use
set(gcf, 'PaperUnits', 'centimeters','PaperPosition', [0 0 6 3]);
Choose your dimension, before saving the figure
0 commentaires
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!