Why does Matlab 2016a automatically change font size of my figure when I save it as pdf?

57 次查看(过去 30 天)
When I plot a figure, I use "set(gca, 'FontSize', 6.0);" to set axes' font to size 6 pt. However, when I save the figure to pdf format, I can see matlab automatically enlarge the figure in displaying window, and then saves it, and finally the font size is recovered in displaying window to 6 px. By using AI, I found the font in saved pdf is size 8 pt. I want to know how to keep the font size in saving pdf?
In fact, any font that is smaller than 8 will be changed to size 8.

回答(2 个)

Andrea Fino
Andrea Fino 2019-11-25
编辑:Andrea Fino 2019-11-25
Same issue, the solution is in File->Export Setup, than change the "Scale font by that should be set as "auto" " then tap "Apply to Figure" and let's export your file ;)
Please see the attachment for details.
Hope that will help.
A. F.

Michael Mullen
Michael Mullen 2018-6-19
This link helped me!

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by