violinplot
Violin plot — box plot with a kernel-density-estimate envelope.
Syntax
Section titled “Syntax”violinplot(ydata)violinplot(ydata, x, ...)Description
Section titled “Description”Like boxplot but the box is replaced by a mirrored kernel-density estimate of the data distribution. Shows distribution shape (multimodality, skew) that boxplots can’t.
Example
Section titled “Example”violinplot(randn(1000, 4))