# HG changeset patch # User Rik # Date 1277957238 25200 # Node ID 14af8004945d212a4964d75c2612381affae7ea8 # Parent d899b2ee6a376188d4a20cf983d233a943d280ad stairs.m: Add additional calling forms to documentation diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-06-16 Rik + + * plot/stairs.m: Add additional calling forms to documentation. + 2010-06-24 John W. Eaton * plot/private/__plt__.m: Replace usage message with error. diff --git a/scripts/plot/stairs.m b/scripts/plot/stairs.m --- a/scripts/plot/stairs.m +++ b/scripts/plot/stairs.m @@ -18,16 +18,19 @@ ## . ## -*- texinfo -*- -## @deftypefn {Function File} {} stairs (@var{x}, @var{y}) +## @deftypefn {Function File} {} stairs (@var{y}) +## @deftypefnx {Function File} {} stairs (@var{x}, @var{y}) ## @deftypefnx {Function File} {} stairs (@dots{}, @var{style}) ## @deftypefnx {Function File} {} stairs (@dots{}, @var{prop}, @var{val}) ## @deftypefnx {Function File} {} stairs (@var{h}, @dots{}) ## @deftypefnx {Function File} {@var{h} =} stairs (@dots{}) +## @deftypefnx {Function File} {[@var{xstep}, @var{ystep}] =} stairs (@dots{}) ## Produce a stairstep plot. The arguments may be vectors or matrices. ## ## If only one argument is given, it is taken as a vector of y-values ## and the x coordinates are taken to be the indices of the elements. ## +## If one output argument is requested, return a graphics handle to the plot. ## If two output arguments are specified, the data are generated but ## not plotted. For example, ##