boxplot
BOXPLOT(Y) plots a box for each of the columns in Y. Each box will be placed on integer positions along the x-axis, corresponding to the column number. The box indicates the 25th and 75th percentiles, a bar indicates the 50th percentile, and whiskers indicate the max and min datum. H = BOXPLOT(Y) returns one handle per box.
BOXPLOT(Y,'outlier') changes the plot such that the whiskers indicate the max and min datum still within 1.5 IQR (the height of the box). Data outside the whiskers are shown as dots. H = BOXPLOT(Y,'outlier') returns two handles per box (one for the box, one for the dots representing the outliers). The outlier handle can be 0 if there were no outliers to plot.
BOXPLOT(...,'boxwidth',W,'barlength',S) additionally sets the width of the box as a fraction of the distance between boxes, and the total length of the bar that represents the median. It is recommended that S>=W. By default, W=0.4 and S=0.5.
Citation pour cette source
Cris Luengo (2024). boxplot (https://www.mathworks.com/matlabcentral/fileexchange/51134-boxplot), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Statistical Visualization > Box Plots >
- Sciences > Mathematics > Probability & Statistics > Box Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Final attempt at fixing the description. Why do newlines disappear? Fixed description, file didn't change. |