Mercurial > hg > octave-lyh
changeset 8528:06e1667d7492
grid.m: Correct doc-string.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 15 Jan 2009 17:54:19 -0500 |
parents | 6b074f37e8d7 |
children | 774b44619c5c |
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. + 2009-01-15 Peter L. Søndergaard <peter@sonderport.dk> * general/nargoutchk.m: Doc fix.
--- 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