How to write nodes names with in the circle?

조회 수: 1 (최근 30일)
Ammy
Ammy 2018년 2월 22일
편집: Geoff Hayes 2018년 2월 22일
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개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by