Avoid misinterpretation in scatter plots.
Great for visualizing data as scatter-like button plot, where points would otherwise be displayed upon another.
Visually overlapping disks are iteratively combined on a weighted basis until no more intersect.
In mathematical terms, each merged disk has coordinates
and volume
given by
where each
and
,
are the coordinates and volumes of all disks within a cluster. The clusters are the connected components within the graph where two vertices are neighbored if their plotted disks visually overlap. This process is repeated until no more disks overlap.
Avoid quadratic complexity.
The algorithm should scale as
in the number of points N. Tested up to 200.000 points.
引用格式
Sebastian Kraemer (2024). Button Plot (https://www.mathworks.com/matlabcentral/fileexchange/97697-button-plot), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2020a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.6 | Changed file exchange graphic. The Matlab files did not change. |
||
1.0.5 | Removed another typo in the mathematical description. The Matlab files did not change. |
||
1.0.4 | Removed another typo in the description. The Matlab files did not change. |
||
1.0.3 | Added the word button in the description to improve search results. The Matlab files did not change. |
||
1.0.2 | Cleaned up typos in the description immediately after first publication. The Matlab files did not change. |
||
1.0.1 | Rephrased description and modified image. The Matlab files did not change. |
||
1.0.0 |