BUG: Saving plot into png changes the fontsize

17 ビュー (過去 30 日間)
Yael Bengel
Yael Bengel 2022 年 5 月 27 日
回答済み: Walter Roberson 2022 年 5 月 27 日
Saving plot into png changes the fontsize (only) of the XTickLabel and YTickLabel automatically, undependently on the fontsize parameter changed in the code beforehand. Saving the image with "saveas" produces the problem, but first saving it into .fig, open it again and saving it into .png produces no problem.
(using R2020b)
  1 件のコメント
Yael Bengel
Yael Bengel 2022 年 5 月 27 日
" but first saving it into .fig, open it again and saving it into .png produces no problem." even don't really works since the title fontsize changed.
Solution: Export setup -> Lines -> Custom width [unchecked]
then export...
Why is this not default?

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2022 年 5 月 27 日
Switch to https://www.mathworks.com/help/matlab/ref/exportgraphics.html

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by