Mercurial > octave
comparison scripts/plot/appearance/axis.m @ 28238:50d83252f867 stable
axis.m: Update documentation.
* axis.m: Update documentation to show calling forms with a space between the
command and the axes to be affected (x|y|z) such as "tic x".
author | Rik <rik@octave.org> |
---|---|
date | Fri, 24 Apr 2020 13:04:08 -0700 |
parents | bd51beb6205e |
children | 2fb684dc2ec2 0a5b15007766 |
comparison
equal
deleted
inserted
replaced
28228:298977286479 | 28238:50d83252f867 |
---|---|
37 ## | 37 ## |
38 ## The argument @var{limits} should be a 2-, 4-, 6-, or 8-element vector. The | 38 ## The argument @var{limits} should be a 2-, 4-, 6-, or 8-element vector. The |
39 ## first and second elements specify the lower and upper limits for the | 39 ## first and second elements specify the lower and upper limits for the |
40 ## x-axis. The third and fourth specify the limits for the y-axis, the fifth | 40 ## x-axis. The third and fourth specify the limits for the y-axis, the fifth |
41 ## and sixth specify the limits for the z-axis, and the seventh and eighth | 41 ## and sixth specify the limits for the z-axis, and the seventh and eighth |
42 ## specify the limits for the color axis. The special values -Inf and Inf may | 42 ## specify the limits for the color axis. The special values @code{-Inf} and |
43 ## be used to indicate that the limit should be automatically computed based | 43 ## @code{Inf} may be used to indicate that the limit should be automatically |
44 ## on the data in the axes. | 44 ## computed based on the data in the axes. |
45 ## | 45 ## |
46 ## Without any arguments, @code{axis} turns autoscaling on. | 46 ## Without any arguments, @code{axis} turns autoscaling on. |
47 ## | 47 ## |
48 ## With one output argument, @code{@var{limits} = axis} returns the current | 48 ## With one output argument, @code{@var{limits} = axis} returns the current |
49 ## axis limits. | 49 ## axis limits. |
68 ## The following options control the way axis limits are interpreted. | 68 ## The following options control the way axis limits are interpreted. |
69 ## | 69 ## |
70 ## @table @asis | 70 ## @table @asis |
71 ## @item @qcode{"auto"} | 71 ## @item @qcode{"auto"} |
72 ## @itemx @qcode{"auto[xyz]"} | 72 ## @itemx @qcode{"auto[xyz]"} |
73 ## Set the specified axes to have nice limits around the data or all if no | 73 ## @itemx @qcode{"auto [xyz]"} |
74 ## axes are specified. | 74 ## Set nice auto-computed limits around the data for all axes, or only |
75 ## the specified axes. | |
75 ## | 76 ## |
76 ## @item @qcode{"manual"} | 77 ## @item @qcode{"manual"} |
77 ## Fix the current axes limits. | 78 ## Fix the current axes limits. |
78 ## | 79 ## |
79 ## @item @qcode{"tight"} | 80 ## @item @qcode{"tight"} |
88 ## | 89 ## |
89 ## @noindent | 90 ## @noindent |
90 ## The following options affect the appearance of tick marks. | 91 ## The following options affect the appearance of tick marks. |
91 ## | 92 ## |
92 ## @table @asis | 93 ## @table @asis |
93 ## @item @qcode{"tic[xyz]"} | 94 ## @item @qcode{"tic"} |
95 ## @itemx @qcode{"tic[xyz]"} | |
96 ## @itemx @qcode{"tic [xyz]"} | |
94 ## Turn tick marks on for all axes, or turn them on for the specified axes and | 97 ## Turn tick marks on for all axes, or turn them on for the specified axes and |
95 ## off for the remainder. | 98 ## off for the remainder. |
96 ## | 99 ## |
97 ## @item @qcode{"label[xyz]"} | 100 ## @item @qcode{"label"} |
101 ## @itemx @qcode{"label[xyz]"} | |
102 ## @itemx @qcode{"label [xyz]"} | |
98 ## Turn tick labels on for all axes, or turn them on for the specified axes | 103 ## Turn tick labels on for all axes, or turn them on for the specified axes |
99 ## and off for the remainder. | 104 ## and off for the remainder. |
100 ## | 105 ## |
101 ## @item @qcode{"nolabel"} | 106 ## @item @qcode{"nolabel"} |
102 ## Turn tick labels off for all axes. | 107 ## Turn tick labels off for all axes. |