how to change label size boxplot?
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!
Answers (0)
Categories
Find more on Box Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!