graphe draw nod with 3 weights?
Show older comments
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)
Answers (0)
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!