How to permanently change font size settings?

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (1)

Max
Max il 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 Commento
Walter Roberson
Walter Roberson il 17 Nov 2013
The difference between setup.m and startup.m is whether my memory is fading or not. Apparently it is.

Accedi per commentare.

Categorie

Scopri di più su Entering Commands 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!

Translated by