MATLAB: Change boxplot outlier shape

boxplotoutlierplot

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

Best Answer

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