Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week
plotSpread allows creating "beeswarm plots", i.e. point distributions where jitter has been added to the data points to avoid overlap.
It further allows specifying groups within the data to show the distribution of the groups inside a distribution.
plotSpread is most suited to visualizing distributions with small amounts of data points. If the points become too dense, it becomes difficult to appreciate the relative importance of modes of a distribution, in which case "distributionPlot" should be used.
plotSpread uses the excellent "distinguishable_colors" to choose default colors for different categories.
In addition, the .zip file contains "myErrorbar" (a modification of the built-in errorbar), "repeatEntries" for easy repetition of entries in a list, and "isEven" to test whether a number is even. For both "repeatEntries" and "isEven" there are better alternatives on the File Exchange.
Citation pour cette source
Jonas (2026). plot spread points (beeswarm plot) (https://fr.mathworks.com/matlabcentral/fileexchange/37105-plot-spread-points-beeswarm-plot), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
Inspiré par : Generate maximally perceptually-distinct colors
A inspiré : Violin Plots for plotting multiple distributions (distributionPlot.m)
Informations générales
- Version 1.2.0.0 (12,8 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.0 | Updated support for categoryLabels, fixed help |
||
| 1.1.0.0 | Replaced the call to ismatrix, which is a function that only appeared in MATLAB after R2009b |
||
| 1.0.0.0 |