figureのx軸またはy軸のみの文字サイズを変更する
259 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
figureでplotしたとき,set(gca,'FontSize',20);でグラフ全体の文字サイズは変更できたのですが、
このようにx軸のみ文字サイズを変更することはできるでしょうか?
宜しくお願いします
0 commentaires
Réponse acceptée
michio
le 25 Fév 2020
も参考になりますが、XAxis, YAxis プロパティの FontSize をいじれば行けそうです。
例:
plot(rand(20,2));
h_axes = gca;
h_axes.XAxis.FontSize = 20;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2 次元および 3 次元プロット 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!