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
引用格式
Ruggero G. Bettinardi (2026). distributionPlot_OnlyPositive (https://ww2.mathworks.cn/matlabcentral/fileexchange/69682-distributionplot_onlypositive), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2018b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Exploration and Visualization >
在 Help Center 和 MATLAB Answers 中查找有关 Exploration and Visualization 的更多信息
标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0 |
