Effacer les filtres
Effacer les filtres

How do you increase the font size in the published MATLAB scripts?

3 vues (au cours des 30 derniers jours)
Fred
Fred le 15 Mai 2015
Commenté : Fred le 25 Mar 2022
I am publishing MATLAB scripts for demonstration purposes. Thanks to a MATLAB answer, I have incorporated MathJax to make the LaTeX look much nicer by modifying the XSL sheet (please make this a standard, not a workaround). However, I prefer to have all of the fonts a larger size for readability. How can this be done? Thanks.
  2 commentaires
Adam Danz
Adam Danz le 11 Juil 2019
Modifié(e) : Adam Danz le 18 Mar 2022
For those looking for this solution, see supersizeme() on the file exchange. This scales the font size of all text within a figure or axes (or object) and has an optional GUI with a sliding scale to interactively scale font sizes.
For example, supersizeme(1.2) or (-1.2) will increase or decrease the current font sizes of all text by a factor of 1.2.
Update: Starting in MATLAB R2022a, use the fontsize function to scale font sizes and set font units in a figure. Release R2022a also includes the new fontname function to set font names within a figure. For a review, see this Community Highlight.
Fred
Fred le 25 Mar 2022
Thanks Adam!!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps 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!

Translated by