when we call for boxplot function, is there any setting to avoid that such function that evaluates outliers, so that the red crosses will be considered part of the distributi

when wecall for boxplot function, is there any setting to avoid that such function that evaluates outliers, so that the red crosses will be considered part of the distribution, not outlier wrt it.

 Risposta accettata

Have you read the documentation? I expect setting Whisker to inf should do it.
And indeed it does:
boxplot([5;randn(100,1)],'Whisker',inf)

2 Commenti

What code did you try exactly?
Doesn't this work?
boxplot([path1; path2; path3; path4; path5; path6; path7; path8],group,'Whisker',inf)
ok now fine. i tried other way. that also works.
Many Thanks

Accedi per commentare.

Più risposte (0)

Richiesto:

il 4 Giu 2021

Modificato:

il 4 Giu 2021

Community Treasure Hunt

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

Start Hunting!

Translated by