How to change text size in boxplot
Mostrar comentarios más antiguos
Hi,
Would anybody know how to change the size of the font on the x-axis labels in a boxplot. For example I want to make the label "Urban Congested" larger?
I cannot figure out how to do it in the axis property editor.

Thank you
Respuesta aceptada
Más respuestas (2)
roger
el 14 de Dic. de 2016
1 voto
boxplot([LEAD,own],'Notch','on','Labels',{'LEAD','OWN'});
set(gca,'XTick',1:2)%2 because only exists 2 boxplot
set(gca,'XTickLabel',{'LEAD','OWN'},'FontSize',20)
Rodrigo Diaz
el 7 de Sept. de 2016
0 votos
Thanks Daniel Shub. The second way really works very well.
Categorías
Más información sobre Exploration and Visualization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!