how to change label size boxplot?

3 views (last 30 days)
Danubio Genova
Danubio Genova on 9 Jun 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!

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!