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:
“The basic difference between classical music and jazz is that in the former the music is always greater than its performanceBeethovens Violin Concerto, for instance, is always greater than its performancewhereas the way jazz is performed is always more important than what is being performed.”
—André Previn (b. 1929)
“The plot was most interesting. It belonged to no particular age, people, or country, and was perhaps the more delightful on that account, as nobodys previous information could afford the remotest glimmering of what would ever come of it.”
—Charles Dickens (18121870)