Azzera filtri
Azzera filtri

Boxchart - How can we change the whisker length?

10 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Rik
Rik il 2 Dic 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?
  1 Commento
DrZoidberg
DrZoidberg il 6 Dic 2021
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 :)

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by