Boxchart - How can we change the whisker length?
21 views (last 30 days)
Show older comments
Hello,
does anybody know how to change the multiplier for the maximum whisker length for the boxchart function?
I do not want outliers determined by the 2.7*sigma deviation rule, because it is probably not normally distributed. It was easy in boxplot (by a name-value pair argument e.g. 'Whisker', 10), but I can't access the whisker poperty anymore in boxchart.
Br
0 Comments
Accepted Answer
Rik
on 2 Dec 2021
I doubt you can actually access this property. It is at the very least undocumented.
You will either have to use boxplot or build your own version (or use of the many from the file exchange).
When Mathworks introduced this I was surprised. It is nice to have a boxplot function that doesn't require a toolbox, but why they would want to support two separate functions is a mystery to me. Maybe they want to still push sales of the toolbox for people who want to set the Whisker property but don't want to write their own function?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!