BUG: Saving plot into png changes the fontsize

10 Ansichten (letzte 30 Tage)
Yael Bengel
Yael Bengel am 27 Mai 2022
Beantwortet: Walter Roberson am 27 Mai 2022
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 Kommentar
Yael Bengel
Yael Bengel am 27 Mai 2022
" 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?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 27 Mai 2022
Switch to https://www.mathworks.com/help/matlab/ref/exportgraphics.html

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by