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

1 Ansicht (letzte 30 Tage)
alpedhuez
alpedhuez am 11 Jul. 2020
Kommentiert: Star Strider am 15 Jul. 2020
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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by