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.

 Accepted Answer

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 Comments

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

Sign in to comment.

More Answers (0)

Asked:

on 4 Jun 2021

Edited:

on 4 Jun 2021

Community Treasure Hunt

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

Start Hunting!