Change x-axis label font size?

3 visualizaciones (últimos 30 días)
jcm95
jcm95 el 26 de Jun. de 2017
Comentada: dpb el 28 de Jun. de 2017
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 comentarios
Shane L
Shane L el 27 de Jun. de 2017
Yes, the solution provided by dpb should answer your question.
jcm95
jcm95 el 28 de Jun. de 2017
Thank you!

Iniciar sesión para comentar.

Respuestas (1)

dpb
dpb el 26 de Jun. de 2017
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 comentarios
jcm95
jcm95 el 28 de Jun. de 2017
Thanks!
dpb
dpb el 28 de Jun. de 2017
If that solved the problem please Accept Answer to indicate so if nothing else.

Iniciar sesión para comentar.

Categorías

Más información sobre Axis Labels en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by