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

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

 채택된 답변

michio
michio 2020년 2월 25일

3 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 対話型コントロールとコールバック에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

DIA
2020년 2월 25일

답변:

2020년 2월 25일

Community Treasure Hunt

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

Start Hunting!