Plotting an undirected graph with weights
Mostrar comentarios más antiguos
I have a set of 50 nodes with x and y coordinates and have a 50x50 matrix with the travel demands between each node pair. For each pair it holds that the demand is the same in both directions. I am trying to figure out how to plot the nodes with edges between each pair, where the color gives an indication on the weight of the edge (based on the value of travel demand). Does anybody know of a good way to plot this?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Undirected Graphs en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!