Flexible Node size by using biograph in matlab
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Suppose DAG is matrix in following
0 0 0 0 1 0 0
0 0 0 0 1 0 0
0 0 0 0 0 1 0
0 0 0 0 0 1 0
0 0 0 0 0 0 1
0 0 0 0 0 0 1
0 0 0 0 0 0 0
bg.NodeAutoSize='off'
nodeLabels = {'Unwanted Navigational Route' 'Inadequate weather info' 'Human Error1' 'GPS Error' 'AIS Error' 'ECDIS Error' 'Assitant is not required' };
bg = biograph(DAG, nodeLabels, 'arrowsize', 12);
set(bg.Nodes,'Size',[1,1]);
set(bg.Nodes, 'shape', 'ellipse');
set(bg.Nodes,'FontSize', 16);
bgInViewer = view(bg);
Hope you the people understand that I need the size of the ellipse is large. What should I do in this case?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Weather and Atmospheric Science finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!