Boxchart - How can we change the whisker length?

조회 수: 29 (최근 30일)
DrZoidberg
DrZoidberg 2021년 12월 2일
댓글: DrZoidberg 2021년 12월 6일
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

채택된 답변

Rik
Rik 2021년 12월 2일
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?
  댓글 수: 1
DrZoidberg
DrZoidberg 2021년 12월 6일
Ok then, I will go on with the boxplot_custom.m or gramm.m from the exchange server. Gratefully, the community already did the job :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by