Home > freetb4matlab > plot > surface.m

surface

PURPOSE ^

% Plot a surface graphic object given matrices @var{x}, and @var{y} from

SYNOPSIS ^

function retval = surface (varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} surface (@var{x}, @var{y}, @var{z}, @var{c})
% @deftypefnx {Function File} {} surface (@var{x}, @var{y}, @var{z})
% @deftypefnx {Function File} {} surface (@var{z}, @var{c})
% @deftypefnx {Function File} {} surface (@var{z})
% @deftypefnx {Function File} {} surface (@dots{}, @var{prop}, @var{val})
% @deftypefnx {Function File} {} surface (@var{h}, @dots{})
% @deftypefnx {Function File} {@var{h} =} surface (@dots{})
% Plot a surface graphic object given matrices @var{x}, and @var{y} from 
% @code{meshgrid} and a matrix @var{z} corresponding to the @var{x} and 
% @var{y} coordinates of the surface.  If @var{x} and @var{y} are vectors,
% then a typical vertex is (@var{x}(j), @var{y}(i), @var{z}(i,j)).  Thus, 
% columns of @var{z} correspond to different @var{x} values and rows of 
% @var{z} correspond to different @var{y} values.  If @var{x} and @var{y}
% are missing, they are constructed from size of the matrix @var{z}.
%
% Any additional properties passed are assigned to the surface.
% @seealso{surf, mesh, patch, line}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003