how can one set the default size of font for plot?

1 visualizzazione (ultimi 30 giorni)
I understand that
set(gca, 'FontSize', 6.0);
will set the default size of a plot. But I have let me say 10 plots in this Livescript. Is there any way to set the default size of a plot so that one does not need to do this for each plot?

Risposta accettata

Star Strider
Star Strider il 11 Lug 2020
Experiment with: Default Property Values
  6 Commenti
alpedhuez
alpedhuez il 15 Lug 2020
set(groot, 'defaultTextFontSize', 6)
Star Strider
Star Strider il 15 Lug 2020
I thought I posted exactly that four days ago!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by