Mercurial > hg > octave-lyh
comparison 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 |
comparison
equal
deleted
inserted
replaced
8527:6b074f37e8d7 | 8528:06e1667d7492 |
---|---|
18 ## <http://www.gnu.org/licenses/>. | 18 ## <http://www.gnu.org/licenses/>. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} grid (@var{arg}) | 21 ## @deftypefn {Function File} {} grid (@var{arg}) |
22 ## @deftypefnx {Function File} {} grid ("minor", @var{arg2}) | 22 ## @deftypefnx {Function File} {} grid ("minor", @var{arg2}) |
23 ## @deftypefnx {Function File} {} grid (@var{hax}, @dots{}) | |
23 ## Force the display of a grid on the plot. | 24 ## Force the display of a grid on the plot. |
24 ## The argument may be either @code{"on"} or @code{"off"}. If it is | 25 ## The argument may be either @code{"on"}, or @code{"off"}. |
25 ## omitted, the current grid state is toggled. | 26 ## If it is omitted, the current grid state is toggled. |
26 ## | 27 ## |
27 ## If @var{arg} is @code{"minor"} then the minor grid is toggled. When | 28 ## If @var{arg} is @code{"minor"} then the minor grid is toggled. When |
28 ## using a minor grid a second argument @var{arg2} is allowed, which can | 29 ## using a minor grid a second argument @var{arg2} is allowed, which can |
29 ## be either @code{"on"} or @code{"off"} to explicitly set the state of | 30 ## be either @code{"on"} or @code{"off"} to explicitly set the state of |
30 ## the minor grid. | 31 ## the minor grid. |
32 ## | |
33 ## If the first argument is an axis handle, @var{hax}, operate on the | |
34 ## specified axis object. | |
31 ## @seealso{plot} | 35 ## @seealso{plot} |
32 ## @end deftypefn | 36 ## @end deftypefn |
33 | 37 |
34 ## Author: jwe | 38 ## Author: jwe |
35 | 39 |