Violin Plot

Violin plots are a method of plotting numeric data. A violin plot is a combination of a box plot and a kernel density plot. Specifically, it starts with a box plot. It then adds a rotated kernel density plot to each side of the box plot.

The violin plot is similar to box plots, except that they also show the probability density of the data at different values (in the simplest case this could be a histogram). Typically violin plots will include a marker for the median of the data and a box indicating the interquartile range, as in standard box plots. Overlaid on this box plot is a kernel density estimation.

Violin plots are available as extensions to a number of software packages, including R through the vioplot, wvioplot, UsingR, lattice, and ggplot2 libraries, and Stata through the vioplot add-in.

Violin plots are also quite similar to the turnip graph used in STATA.

Famous quotes containing the words violin and/or plot:

    So I cradle this average violin that knows
    Only forgotten showtunes, but argues
    The possibility of free declamation anchored
    To a dull refrain....
    John Ashbery (b. 1927)

    The plot! The plot! What kind of plot could a poet possibly provide that is not surpassed by the thinking, feeling reader? Form alone is divine.
    Franz Grillparzer (1791–1872)