Plotting an undirected graph with weights
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Undirected Graphs 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!