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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Rik
Rik am 4 Jun. 2021
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 Kommentare
Rik
Rik am 4 Jun. 2021
What code did you try exactly?
Doesn't this work?
boxplot([path1; path2; path3; path4; path5; path6; path7; path8],group,'Whisker',inf)
zhoug zho
zhoug zho am 4 Jun. 2021
Bearbeitet: zhoug zho am 4 Jun. 2021
ok now fine. i tried other way. that also works.
Many Thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by