bastibe / Violinplot-Matlab

Violin Plots for Matlab
https://mathworks.com/matlabcentral/fileexchange/170126-violinplot-matlab
BSD 3-Clause "New" or "Revised" License
256 stars 103 forks source link

Binary plot / group plot? #28

Open sjowtajm opened 3 years ago

sjowtajm commented 3 years ago

Hi

Short question? Would it be possible to implement a binary or group plot without too much hassle? Like this:

https://chart-studio.plotly.com/~RPlotBot/5248.embed

Maybe I could do it myself by adjusting the script, but you're much better than me and could spread if to others so just a suggestion :)

bastibe commented 3 years ago

It should be relatively straight-forward to delete one half of the plotting commands if you edit the script. The difficult part would be the API design to support it, while staying more or less compatible with boxplots. I'd be happy to accept a pull request for it.