BUG: Saving plot into png changes the fontsize

9 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by