# What's the simplest way to create a beanplot in matlab?

What is the simplest script for generating a beanplot (see article published in the Journal of Statistical Software) in Matlab?

-
Mathworks seems not to have an entry for beanplot or bean plot. This is not a good sign. –  user10525 Jun 22 '12 at 22:10
This kind of plot takes a few seconds to make in R, after you've imported your data. Is it important that it's in matlab? –  naught101 Nov 21 '12 at 6:18
a combination of ksdensity and fill should work. –  Memming Apr 14 at 21:00

I found an excellent series of plot tools on Matlab File Exchange that creates bean plots among several other distribution plots.

http://www.mathworks.com/matlabcentral/fileexchange/23661-violin-plots-for-plotting-multiple-distributions-distributionplot-m

-

I know this isn't necessarily what you are looking for, but I suggested to the "improvement request" folks at my work that they ask for variation on the bean plot as option for variability plots in one of MatLab's competitors. We are a relatively big customer so a useful proportion of our requests actually do get implemented in the product. It sometimes takes a year or three before it is rolled out.

I see the bean plot as having good value for EDA in my work environment. If their competitors have it and their competitors customers are using it for good value then there is incentive for MathWorks to implement it in MatLab. Eventually there is good incentive, it takes time.

That is how to make it happen natively inside MatLab. That is not how to hack it to work with existing MatLab methods.

-