Home > freetb4matlab > plot > area.m

area

PURPOSE ^

% Area plot of cumulative sum of the columns of @var{y}. This shows the

SYNOPSIS ^

function h = area (varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} area (@var{x}, @var{y})
% @deftypefnx {Function File} {} area (@var{x}, @var{y}, @var{lvl})
% @deftypefnx {Function File} {} area (@dots{}, @var{prop}, @var{val}, @dots{})
% @deftypefnx {Function File} {} area (@var{y}, @dots{})
% @deftypefnx {Function File} {} area (@var{h}, @dots{})
% @deftypefnx {Function File} {@var{h} =} area (@dots{})
% Area plot of cumulative sum of the columns of @var{y}.  This shows the
% contributions of a value to a sum, and is functionally similar to 
% @code{plot (@var{x}, cumsum (@var{y}, 2))}, except that the area under 
% the curve is shaded.
%
% If the @var{x} argument is omitted it is assumed to be given by
% @code{1 : rows (@var{y})}.  A value @var{lvl} can be defined that determines
% where the base level of the shading under the curve should be defined.
%
% Additional arguments to the @code{area} function are passed to the 
% @code{patch}.  The optional return value @var{h} provides a handle to 
% area series object representing the patches of the areas.
% @seealso{plot, patch}
% @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