sinaplot

Produces sinaplots (density-scaled jittered plots)
68.0 次下载
更新时间 2018/11/20

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Annotations 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

Added colors and exceptions

1.0.0