diff scripts/plot/grid.m @ 8528:06e1667d7492

grid.m: Correct doc-string.
author Ben Abbott <bpabbott@mac.com>
date Thu, 15 Jan 2009 17:54:19 -0500
parents cadc73247d65
children 5dd06f19e9be
line wrap: on
line diff
--- 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