# HG changeset patch # User Ben Abbott # Date 1232060059 18000 # Node ID 06e1667d7492cb3d130a68e5a509a571c29384ed # Parent 6b074f37e8d76b4435dc8c1086f41f45baaf2121 grid.m: Correct doc-string. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-01-15 Ben Abbott + + * plot/grid.m: Document handle argument. + 2009-01-15 Peter L. Søndergaard * general/nargoutchk.m: Doc fix. diff --git a/scripts/plot/grid.m b/scripts/plot/grid.m --- a/scripts/plot/grid.m +++ b/scripts/plot/grid.m @@ -20,14 +20,18 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} grid (@var{arg}) ## @deftypefnx {Function File} {} grid ("minor", @var{arg2}) +## @deftypefnx {Function File} {} grid (@var{hax}, @dots{}) ## Force the display of a grid on the plot. -## The argument may be either @code{"on"} or @code{"off"}. If it is -## omitted, the current grid state is toggled. +## The argument may be either @code{"on"}, or @code{"off"}. +## If it is omitted, the current grid state is toggled. ## ## If @var{arg} is @code{"minor"} then the minor grid is toggled. When ## using a minor grid a second argument @var{arg2} is allowed, which can ## be either @code{"on"} or @code{"off"} to explicitly set the state of ## the minor grid. +## +## If the first argument is an axis handle, @var{hax}, operate on the +## specified axis object. ## @seealso{plot} ## @end deftypefn