Biograph node label elimination. How to?

조회 수: 2 (최근 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 CenterFile Exchange에서 Directed Graphs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by