##### 22.6.2.9 gplot

— Function File: gplot (a, xy)
— Function File: gplot (a, xy, line_style)
— Function File: [x, y] = gplot (a, xy)

> Plot a graph defined by A and xy in the graph theory sense. A is the adjacency matrix of the array to be plotted and xy is an n-by-2 matrix containing the coordinates of the nodes of the graph.

> The optional parameter line_style defines the output style for the plot. Called with no output arguments the graph is plotted directly. Otherwise, return the coordinates of the plot in x and y.

> See also: treeplot, etreeplot, spy.