Biograph node label elimination. How to?

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!

Antworten (1)

Lucio Cetto
Lucio Cetto am 3 Jun. 2014

0 Stimmen

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.

Kategorien

Mehr zu Graph and Network Algorithms finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 30 Mai 2014

Beantwortet:

am 3 Jun. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by