How to change text size in boxplot
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (2)
roger
am 14 Dez. 2016
1 Stimme
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
am 7 Sep. 2016
0 Stimmen
Thanks Daniel Shub. The second way really works very well.
Kategorien
Mehr zu Exploration and Visualization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!