Change x-axis label font size?

3 次查看(过去 30 天)
jcm95
jcm95 2017-6-26
评论: dpb 2017-6-28
I just have a basic plot and I want to change the font size of only the x axis labels. All the methods I'm trying are changing the font size for both the x and y axes and the title. Any tips? Thanks!
  5 个评论
Shane L
Shane L 2017-6-27
Yes, the solution provided by dpb should answer your question.

请先登录,再进行评论。

回答(1 个)

dpb
dpb 2017-6-26
See <numeric ruler properties>. Have to have HG2 (R2014b?) or later. If don't it'll just tell you no such properties so if don't know give it a go...prior to the introduction of the numeric ruler object the 'FontSize' and other properties were global at the axes level only; no way to adjust an individual axis.
Workaround is to not use the actual tick labels but write manually via text
  2 个评论
dpb
dpb 2017-6-28
If that solved the problem please Accept Answer to indicate so if nothing else.

请先登录,再进行评论。

类别

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

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by