Flexible Node size by using biograph in matlab
4 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Weather and Atmospheric Science 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!