Force nodes to my graph

1 回表示 (過去 30 日間)
Nathalia Wolf
Nathalia Wolf 2019 年 12 月 18 日
編集済み: Ridwan Alam 2019 年 12 月 19 日
I have the next problem. I try to create a graph with 24 nodes, but the last three are deleted because there is no edge that go to them.
How can I force my graph to have 24 nodes?
GRAFO.png

採用された回答

Ridwan Alam
Ridwan Alam 2019 年 12 月 18 日
plot(digraph(o,d,[],24))
  2 件のコメント
Nathalia Wolf
Nathalia Wolf 2019 年 12 月 18 日
thank you!
Ridwan Alam
Ridwan Alam 2019 年 12 月 18 日
編集済み: Ridwan Alam 2019 年 12 月 19 日
Sure. Glad to help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by