Heatmap sort of image

1 回表示 (過去 30 日間)
Ahamed Tuani
Ahamed Tuani 2018 年 4 月 23 日
コメント済み: Ahamed Tuani 2018 年 4 月 24 日
Hi everyone,
Need help in plotting where I have a TSP tour of 25 14 24 43 7 23 6 27 48 8 26 31 28 3 25 and I would like to create a heatmap sort of image that shows the connection/relation between the nodes as shown in the example attached
. Help and ideas are greatly appreciated and many thanks.

回答 (1 件)

Steven Lord
Steven Lord 2018 年 4 月 23 日
Use the heatmap function? Call spy on the adjacency matrix?
  1 件のコメント
Ahamed Tuani
Ahamed Tuani 2018 年 4 月 24 日
Hi Steven,
Thanks for the reply. I'm looking at the spy function as per your suggestion but any idea how I can rank the nodes from the first node of the tour to the next node?
Thanks again.

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

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by