Text size in figure on the screen vs when saving as png

7 vues (au cours des 30 derniers jours)
Pavel
Pavel le 3 Juil 2012
Hi,
When I set the text font size, I get it to be the desired size on the screen but not when I "print" it to a png figure. In the png figure, the size that it appears sees to be fixed in pixels rather than other units. So when I double the resolution, it halves the text. What's a good way to avoid this behavior?
Thank you!

Réponses (2)

Walter Roberson
Walter Roberson le 3 Juil 2012
Try the file exchange contribution named "export_fig"

Oliver Woodford
Oliver Woodford le 12 Juil 2012
Try using export_fig as follows:
export_fig -painters -r200 test.png

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by