How are coordinates in plot(graph(M)) generated?
Afficher commentaires plus anciens
Given an undirected unweighted adjacency matrix M consisting of only ones and zeros, Matlab can generate a visual graph representation using:
p = plot(graph(M))
Depending on what the exact configuration of M is, the coordinates of p will be different. I have two questions:
- What is the default method used by Matlab for generating coordinates in the plot p?
- Are there alternatives to the default method, for example, if one would like to base location of nodes in the plot on some centrality measure of choice?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


