Mercurial > hg > octave-terminal
changeset 11920:7118a78a4378 release-3-0-x
grid.m: Correct doc-string.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 16 Jan 2009 07:35:54 +0100 |
parents | 66881d20101d |
children | 166a195399f7 |
files | scripts/ChangeLog scripts/plot/grid.m |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-01-15 Ben Abbott <bpabbott@mac.com> + + * plot/grid.m: Document handle argument. + 2008-12-24 Doug Stewart <dastew@sympatico.ca> * plot/grid.m: Handle "minor" option.
--- 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