Why is the font size of the legend not preserved when the figure is saved using "File -> Save As" menu item in MATLAB 7.0.4 (R14SP2)?

15 views (last 30 days)
When I modify the fontsize of the legend and save the figure using the "File -> Save As" menu item, the modified fontsize is not preserved in the saved figure.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
A bug in MATLAB 7.0.4 (R14SP2) prevents it from preserving the legend font size when the figure is saved using the "File -> Save As" menu option of the figure window.
To work around this issue, use the SAVEAS function from command line to save the figure as a graphic file, as follows:
saveas(h,'filename','format'); % 'h' is the handle of the figure.
Note that the above workaround does not work when saving a figure as a '.fig' file.

More Answers (0)

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!