Button Plot

Iteratively combines clusters of visually intersecting disks in a scatter plot (avoiding quadratic complexity).
30 Downloads
Aktualisiert 24 Aug 2021

Lizenz anzeigen

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.

Zitieren als

Sebastian Kraemer (2024). Button Plot (https://www.mathworks.com/matlabcentral/fileexchange/97697-button-plot), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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