violin plots for strictly positive data.


Updated 11 Dec 2018

View License

This is a very simple and imperfect modification of the wonderful code 'distributionPlot', originally developed by Jonas Dorn. In this modification, the ksdensity function is set to the correction of density estimation that prevent to give negative results. otherwise it works exactly as the original function, and the call is identical.

original function: https://fr.mathworks.com/matlabcentral/fileexchange/23661-violin-plots-for-plotting-multiple-distributions-distributionplot-m

Cite As

Ruggero G. Bettinardi (2023). distributionPlot_OnlyPositive (https://www.mathworks.com/matlabcentral/fileexchange/69682-distributionplot_onlypositive), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes