figureのx軸ま​たはy軸のみの文字サ​イズを変更する

figureでplotしたとき,set(gca,'FontSize',20);でグラフ全体の文字サイズは変更できたのですが、
このようにx軸のみ文字サイズを変更することはできるでしょうか?
宜しくお願いします

 Risposta accettata

michio
michio il 25 Feb 2020

3 voti

も参考になりますが、XAxis, YAxis プロパティの FontSize をいじれば行けそうです。
例:
plot(rand(20,2));
h_axes = gca;
h_axes.XAxis.FontSize = 20;

Più risposte (0)

Prodotti

Release

R2019a

Richiesto:

DIA
il 25 Feb 2020

Risposto:

il 25 Feb 2020

Community Treasure Hunt

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

Start Hunting!