How to draw an undirected graph based on coordinates

I have a table about the coordinates of 100 points, and a table storing the path. Now I need to draw an undirected graph related to the coordinates

Answers (1)

Build a graph object. Call plot on it and specify the graph node coordinates as shown in the "Custom Graph Node Coordinates" example on this documentation page.

Asked:

on 17 Mar 2021

Answered:

on 17 Mar 2021

Community Treasure Hunt

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

Start Hunting!