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