Why does Matlab 2016a automatically change font size of my figure when I save it as pdf?
57 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Firas Omran
il 28 Nov 2017
Spostato: Dyuman Joshi
il 2 Mar 2024
I have the same issue but still no answer.
Risposte (2)
Andrea Fino
il 25 Nov 2019
Modificato: Andrea Fino
il 25 Nov 2019
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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!