# Violin plot or bean plot? What are the advantages of each?

I would like to represent my data in the most informative way. As successors of the boxplot, I have found violin plots as well as beanplots. What are the advantages of each plot? A violin plot could be combined with a boxplot:

A beanplot could be combined with the mean and a HDI around it, as seen in the pirateplot() function:

What is the difference? What would you prefer?

• Do we have to choose? I don't like either much. Why not broaden your question to allow suggestions of other possibilities and post your data so that there can be different answers? The example data, whether they are yours or not, show how both plots impute and suggest structure that may not be possessed by the underlying data. For example, the suggested extremes are projections beyond the actual extremes. – Nick Cox Sep 1 '16 at 12:15
• There is also granularity to your data that may or may not be important. Can you comment? Multiples of 0.25? – Nick Cox Sep 1 '16 at 12:17

require(Hmisc)