BUG: Saving plot into png changes the fontsize

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

" 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일

0 개 추천

Switch to https://www.mathworks.com/help/matlab/ref/exportgraphics.html

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2022년 5월 27일

답변:

2022년 5월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by