How to write nodes names with in the circle?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!