How do you plot a clustered graph?

1 view (last 30 days)
Lorenzo Righetto
Lorenzo Righetto on 12 Jun 2019
Edited: ag on 12 Mar 2025
Hello there,
I am trying to visualize a graph and I want to cluster nodes together according to the respective cluster membership (i.e. each node has a number identifying its memebership to the corresponding cluster). How is it possible on Matlab?
Thank you
Lorenzo

Answers (1)

ag
ag on 12 Mar 2025
Edited: ag on 12 Mar 2025
Hi Lorenzo,
MATLAB introduced function "clusterDBSCAN.plot" in R2021a, which allows you to easily plot clusters with distinct colors and markers.
The following MathWorks documentation provides a complete guide on how to achieve the same: https://www.mathworks.com/help/radar/ref/clusterdbscan.clusterdbscan.plot.html
Hope this helps!

Categories

Find more on Networks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!