sinaplot

Produces sinaplots (density-scaled jittered plots)
66 descargas
Actualizado 20 nov 2018

Ver licencia

Bar charts are bad and have polluted literature since forever. Violin plots can look weird. Strip charts, beeswarm plots, or box plots are better, but do not provide all the relevant information.

To represent datasets with differing sample size, use sinaplots, developed by Sidiropoulos et al., 2018.

"Sinaplot is inspired by the strip chart and the violin plot. By letting the normalized density of points restrict the jitter along the x-axis the plot displays the same contour as a violin plot, but resemble a simple strip chart for small number of data points. In this way the plot conveys information of both the number of data points, the density distribution, outliers and spread in a very simple, comprehensible and condensed format."

This function is under construction and I will enhance it once my thesis is written. All contributions welcome. Uses distinguishable_colors.m for plotting

Nikos Sidiropoulos, Sina Hadi Sohi, Thomas Lin Pedersen, Bo Torben Porse, Ole Winther, Nicolas Rapin & Frederik Otzen Bagger (2018) SinaPlot: An Enhanced Chart for Simple and Truthful Representation of Single Observations Over Multiple Classes, Journal of Computational and Graphical Statistics, 27:3, 673-676, DOI: 10.1080/10618600.2017.1366914

Citar como

Sebastien De Landtsheer (2024). sinaplot (https://www.mathworks.com/matlabcentral/fileexchange/69408-sinaplot), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Annotations en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.1

Added colors and exceptions

1.0.0