How to write nodes names with in the circle?
1 view (last 30 days)
Show older comments
A=[1 1 5;
1 2 3;
1 3 9;
1 4 8;
2 1 7;
2 2 1;
2 3 2;
2 4 11;
3 1 12;
3 2 1;
3 3 2;
3 4 3;
4 1 4;
4 2 1;
4 3 1;
4 4 15];
g = digraph(A(:,1),A(:,2),A(:,3));
plot(g,'EdgeLabel',g.Edges.Weight)
how can I write nodes 1,2,3,4 with in the circle?
0 Comments
Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms 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!