Plotting Box Representation of Different Group of Categorical Data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a numeric vector, called sizes, and categorical results of 8 different experiments (results not necessary to be same, but should be categorical or string) as follows,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164610/image.png)
For each result I need to draw boxplot of different categories (A, B, C, D) with different box colours, In addition, all results should be displayed on one figure. Roughly and ugly figure should be like following image. Do you have any suggestion? Cheers,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164613/image.png)
0 commentaires
Réponses (2)
Peter Perkins
le 13 Avr 2018
If you have access to the Statistics & Machine Learning Toolbox, the box plot function does that and more.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!