필터 지우기
필터 지우기

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

조회 수: 374 (최근 30일)
DIA
DIA 2020년 2월 25일
답변: michio 2020년 2월 25일
figureでplotしたとき,set(gca,'FontSize',20);でグラフ全体の文字サイズは変更できたのですが、
このようにx軸のみ文字サイズを変更することはできるでしょうか?
宜しくお願いします

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2 次元および 3 次元プロット에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!