![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/273475/image.png)
figureのx軸またはy軸のみの文字サイズを変更する
736 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
DIA
el 25 de Feb. de 2020
Respondida: michio
el 25 de Feb. de 2020
figureでplotしたとき,set(gca,'FontSize',20);でグラフ全体の文字サイズは変更できたのですが、
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/273464/image.png)
このようにx軸のみ文字サイズを変更することはできるでしょうか?
宜しくお願いします
0 comentarios
Respuesta aceptada
michio
el 25 de Feb. de 2020
も参考になりますが、XAxis, YAxis プロパティの FontSize をいじれば行けそうです。
例:
plot(rand(20,2));
h_axes = gca;
h_axes.XAxis.FontSize = 20;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/273475/image.png)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!