How to change text size in boxplot
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (2)
roger
il 14 Dic 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
il 7 Set 2016
0 voti
Thanks Daniel Shub. The second way really works very well.
Categorie
Scopri di più su Exploration and Visualization in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!