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

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!

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 7 月 3 日

1 投票

Try the file exchange contribution named "export_fig"
Oliver Woodford
Oliver Woodford 2012 年 7 月 12 日

0 投票

Try using export_fig as follows:
export_fig -painters -r200 test.png

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

タグ

質問済み:

2012 年 7 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by