graphe draw nod with 3 weights?
Ältere Kommentare anzeigen
Hello help me i want draw a graph with 3 weights in arrows Mad=Madj(:,:,1); bg=biograph(triu(Mad)); [cm,IDs] = getweightmatrix(bg); bg=biograph(triu(Mad+cm')); bg=biograph(triu(Mad),[],'ShowArrows','on','ShowWeights','on'); for i=1:NBsommet bg.nodes(i).Shape = 'circle'; end %set(bg.Nodes,'Color',[0.3 1 0]) %set(bg.Edges,'LineColor',[0 0 0.7]); %view(h)
Antworten (0)
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!