how to change label size boxplot?
2 views (last 30 days)
Show older comments
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!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!