sinaplot

Produces sinaplots (density-scaled jittered plots)
65 téléchargements
Mise à jour 20 nov. 2018

Afficher la licence

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

Citation pour cette source

Sebastien De Landtsheer (2024). sinaplot (https://www.mathworks.com/matlabcentral/fileexchange/69408-sinaplot), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2017a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Annotations dans Help Center et MATLAB Answers
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.1

Added colors and exceptions

1.0.0