Data density plot
版本 1.1 (2.4 KB) 作者:
Malcolm McLean
Plots data density of a two-dimensional distribution for human viewing.
Data density can be hard to read from scatter plots due to overstriking. I therefore calculate data density at each pixel as the reciprocal of the sum of squared distance from each point, adding a fudge factor to prevent points actually within the pixel going to infinity.
The resulting plot allow for a visual fix on data density.
引用格式
Malcolm McLean (2024). Data density plot (https://www.mathworks.com/matlabcentral/fileexchange/31726-data-density-plot), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization >
在 Help Center 和 MATLAB Answers 中查找有关 Descriptive Statistics and Visualization 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!DataDensity/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.1 | Toolbox |
|
|
1.0.0.0 |