Geom.violin

Geom.violin

Draw violin plots.

Aesthetics

Aesthetics used directly:

With the default statistic Stat.violin, only the following need be defined:

Examples

Dsing = dataset("lattice","singer")
Dsing[:Voice] = [x[1:5] for x in Dsing[:VoicePart]]
plot(Dsing, x=:VoicePart, y=:Height, color=:Voice, Geom.violin)
VoicePart Soprano 1 Soprano 2 Alto 1 Alto 2 Tenor 1 Tenor 2 Bass 1 Bass 2 Sopra Alto Tenor Bass Voice 50 60 70 80 90 Height