Why does Matlab 2016a automatically change font size of my figure when I save it as pdf?
57 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Firas Omran
le 28 Nov 2017
Déplacé(e) : Dyuman Joshi
le 2 Mar 2024
I have the same issue but still no answer.
Réponses (2)
Andrea Fino
le 25 Nov 2019
Modifié(e) : Andrea Fino
le 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 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!