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 views (last 30 days)
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

Rik
Rik on 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)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!