how to change axis fort size

1 次查看(过去 30 天)
Ibrahim AlZoubi
Ibrahim AlZoubi 2020-5-3
回答: Tommy 2020-5-3
how can i change axis font size?
ex: to make it fit i wanna reduce fot size

回答(1 个)

Tommy
Tommy 2020-5-3
By setting the 'FontSize' property of your axes. For example, if the axes handle is contained in ax, you can use
ax.FontSize = newFontSize;
Other ways to make your labels easier to read include repositioning the ticks, only labeling some of your ticks, or rotating your labels.

类别

Help CenterFile Exchange 中查找有关 Graphics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by