sinaplot

Produces sinaplots (density-scaled jittered plots)
68 download
Aggiornato 20 nov 2018

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R2017a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.1

Added colors and exceptions

1.0.0