how to change label size boxplot?

1 visualizzazione (ultimi 30 giorni)
Danubio Genova
Danubio Genova il 9 Giu 2013
Hi!
I'm having some troubles changing the labele size of a box plot. Here is my plot:
bh=boxplot(rand(10,3), 'notch' , 'on','widths',0.6, 'symbol','k+','labels',{'a','b','c'});
and here the error I get:
set(findobj(gca,'Type','text'),'FontSize',13)
??? Subscript indices must either be real positive integers or logicals.
findobj(gca,'Type','text')
ans =
195.0187
194.0187
193.0187
Some suggestions how to change the size of the lables 'a','b','c'?
Thank you!

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by