Biograph node label elimination. How to?

1 回表示 (過去 30 日間)
Paul
Paul 2014 年 5 月 30 日
回答済み: Lucio Cetto 2014 年 6 月 3 日
If I want to visualise a graph, I am making use of the view( biograph(matrix) ) function. My issue is that each node has a big label. Can I eliminate that and just have a dot? Is there any other function in matlab that draws a graph from it's adjacency matrix?
Thank you!

回答 (1 件)

Lucio Cetto
Lucio Cetto 2014 年 6 月 3 日
bg.NodeAutoSize='off'
bg.ShowTextInNodes='none'
set(bg.Nodes,'Size',[1 1]);
set(bg.Nodes,'Shape','circle');
view(bg)
Be aware that biograph does not scale nicely to large and dense graphs.

カテゴリ

Help Center および File ExchangeDirected Graphs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by