Home > freetb4matlab > sparse > gplot.m

gplot

PURPOSE ^

% Plot a graph defined by @var{A} and @var{xy} in the graph theory

SYNOPSIS ^

function [x, y] = gplot (a, xy, line_style)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} gplot (@var{a}, @var{xy})
% @deftypefnx {Function File} {} gplot (@var{a}, @var{xy}, @var{line_style})
% @deftypefnx {Function File} {[@var{x}, @var{y}] =} gplot (@var{a}, @var{xy})
% Plot a graph defined by @var{A} and @var{xy} in the graph theory
% sense.  @var{A} is the adjacency matrix of the array to be plotted
% and @var{xy} is an @var{n}-by-2 matrix containing the coordinates of
% the nodes of the graph.
%
% The optional parameter @var{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 @var{x}
% and @var{y}.
% @seealso{treeplot, etreeplot, spy}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003