gplot
gplot (A, xy) gplot (A, xy, linespec) [X, Y] = gplot (A, xy) Draw the graph whose adjacency matrix is A, with node k placed at row k of xy. Every nonzero A(i,j) contributes the segment from node i to node j. With output arguments the NaN-separated line data is returned instead of being drawn.