How do you plot a clustered graph?
Show older comments
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)
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!