FUNCTION REFERENCE
gplot
Plot a graph from its adjacency matrix.
Plot a graph from its adjacency matrix.
Syntax
gplot(A, xy)Syntax
gplot(A, xy, LineSpec)Syntax
[X, Y] = gplot(A, xy)Draws a segment from xy(i,:) to xy(j,:) for each nonzero A(i,j), as one line broken by NaN. With outputs it returns the X and Y vectors without plotting. A may be sparse.
Example
[X, Y] = gplot([0 1; 1 0], [0 0; 1 1]); % X = [1;0;NaN;0;1;NaN]Differences from MATLAB: None known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.