How can I plot edges with predefined vertices coordinates?
显示 更早的评论
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?
回答(1 个)
KSSV
2018-12-4
0 个投票
YOu may use this function given in the link: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem
类别
在 帮助中心 和 File Exchange 中查找有关 Object Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!