Is there a way to change the shape of the outliers when plotting boxplots? The default is the cross. Thanks

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 4월 1일

0 개 추천

Yes, you can specify the marker
a = [rand(1, 10) 3 3.5 4];
boxplot(a, 'Symbol', 'v');
You can choose any marker specifier described here: https://www.mathworks.com/help/releases/R2020a/matlab/ref/linespec.html

댓글 수: 2

Xen
Xen 2020년 4월 1일
Thanks, and apologies. I don't know how I missed this option!
Ameer Hamza
Ameer Hamza 2020년 4월 1일
Glad to be of help.

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

추가 답변 (0개)

질문:

Xen
2020년 4월 1일

댓글:

2020년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by