graphe draw nod with 3 weights?

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

Asked:

on 4 May 2019

Edited:

on 4 May 2019

Community Treasure Hunt

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

Start Hunting!