Change boxplot outlier shape

25 次查看(过去 30 天)
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
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!

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by