Hello,

 

some time back, Jack helped me produce a violin plot and suggested to make a function of it. Now I am trying to do so. However, I would like to add a box-plot “within” the violin, because the extreme points (e.g.) are not correctly displayed in a violin plot. See here for an original gnuplot examples: http://gnuplot.sourceforge.net/demo_cvs/violinplot.html

 

The “template” script I have attached is working for generating a box-plot or a violin plot, but I have no idea how I can merge them.

 

Any idea? Is it possible to somehow “see” the internals of the boxplot function? For then I should be able to copy & paste things such that it works.


Many thanks

Frederik