How can I plot edges with predefined vertices coordinates?
Show older comments
I have two data sets. One is a list of x and y coordinates of 1000 nodes, the other is an edge list that defines node connections. How can I plot the two together, or combine them into a more useful data set?
For example:
nodes = [712, 2.8; 301, 2.4; ...]
edges = [1,2; 1,75; 1,4; 1,6; ...]
The node at coordinates (712, 2.8) is node number 1 in the edge array. How might I be able to replace each single digit designation with the corresponding coordinates in a larger array?
Answers (1)
KSSV
on 4 Dec 2018
0 votes
YOu may use this function given in the link: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem
Categories
Find more on Object Analysis 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!