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.

 채택된 답변

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

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

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

추가 답변 (0개)

질문:

2021년 6월 4일

편집:

2021년 6월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by