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

 Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 1 Apr. 2020

0 Stimmen

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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by