Effacer les filtres
Effacer les filtres

How to permanently change font size settings?

2 vues (au cours des 30 derniers jours)
Max
Max le 17 Nov 2013
Commenté : Walter Roberson le 17 Nov 2013
set(0,'defaulttextfontsize',14);
set(0,'defaultaxesfontsize',14);
at the command prompt together create a plotting environment with font sizes that I like. What I'd like to do is permanently set these for all future matlab sessions. How would I go about doing this. Thank you for you time.

Réponse acceptée

Walter Roberson
Walter Roberson le 17 Nov 2013
You can put the command in your setup.m file.

Plus de réponses (1)

Max
Max le 17 Nov 2013
searching around for where to put this I found someone who recommended putting it in a startup.m file and putting that file in the ~/Documents/MATLAB/ directory. This worked for me. Thanks for your answer though, it lead me where I wanted to go.
What is the difference between setup.m and startup.m?
  1 commentaire
Walter Roberson
Walter Roberson le 17 Nov 2013
The difference between setup.m and startup.m is whether my memory is fading or not. Apparently it is.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings 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