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.
Ruggero G. Bettinardi (2023). distributionPlot_OnlyPositive (https://www.mathworks.com/matlabcentral/fileexchange/69682-distributionplot_onlypositive), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!