Home > freetb4matlab > plot > meshgrid.m

meshgrid

PURPOSE ^

% Given vectors of @var{x} and @var{y} and @var{z} coordinates, and

SYNOPSIS ^

function [xx, yy, zz] = meshgrid (x, y, z)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{xx}, @var{yy}, @var{zz}] =} meshgrid (@var{x}, @var{y}, @var{z})
% @deftypefnx {Function File} {[@var{xx}, @var{yy}] =} meshgrid (@var{x}, @var{y})
% @deftypefnx {Function File} {[@var{xx}, @var{yy}] =} meshgrid (@var{x})
% Given vectors of @var{x} and @var{y} and @var{z} coordinates, and
% returning 3 arguments, return three-dimensional arrays corresponding
% to the @var{x}, @var{y}, and @var{z} coordinates of a mesh.  When
% returning only 2 arguments, return matrices corresponding to the
% @var{x} and @var{y} coordinates of a mesh.  The rows of @var{xx} are
% copies of @var{x}, and the columns of @var{yy} are copies of @var{y}.
% If @var{y} is omitted, then it is assumed to be the same as @var{x},
% and @var{z} is assumed the same as @var{y}.
% @seealso{mesh, contour}
% @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