I have a set of 50 nodes with x and y coordinates and have a 50×50 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?
MATLAB: Plotting an undirected graph with weights
MATLABundirected graphweights
Best Answer