https://github.com/bastibe/Violinplot-Matlab
Revision dfdddd7d394aa4d59e0099f8c2b68714cbf55121 authored by Bastian Bechtold on 03 July 2017, 13:55:29 UTC, committed by Bastian Bechtold on 03 July 2017, 13:55:47 UTC
1 parent a0659c8
Raw File
Tip revision: dfdddd7d394aa4d59e0099f8c2b68714cbf55121 authored by Bastian Bechtold on 03 July 2017, 13:55:29 UTC
adds mean indicator
Tip revision: dfdddd7
README.md
# Violin Plots for Matlab

A violin plot is an easy to read substitute for a box plot that
replaces the box shape with a kernel density estimate of the data, and
optionally overlays the data points itself.
 
Additional constructor parameters include the width of the plot, the
bandwidth of the kernel density estimation, and the X-axis position of
the violin plot.

```matlab
load carbig MPG Origin
Origin = cellstr(Origin);
figure
vs = violinplot(MPG, Origin);
ylabel('Fuel Economy in MPG');
xlim([0.5, 7.5]);
```

![example image](example.png)
back to top