Mercurial > octave
comparison scripts/plot/axis.m @ 3368:a4cd1e9d9962
[project @ 1999-11-20 17:22:48 by jwe]
author | jwe |
---|---|
date | Sat, 20 Nov 1999 17:23:01 +0000 |
parents | 21208b797332 |
children | f8dde1807dee |
comparison
equal
deleted
inserted
replaced
3367:0748b03c3510 | 3368:a4cd1e9d9962 |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, write to the Free | 16 ## along with Octave; see the file COPYING. If not, write to the Free |
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## usage: axis () | 20 ## -*- texinfo -*- |
21 ## axis ([xmin, xmax]) | 21 ## @deftypefn {Function File} {} axis (@var{limits}) |
22 ## axis ([xmin, xmax, ymin, ymax]) | 22 ## Sets the axis limits for plots. |
23 ## axis ([xmin, xmax, ymin, ymax, zmin, zmax]) | 23 ## |
24 ## | 24 ## The argument @var{limits} should be a 2, 4, or 6 element vector. The |
25 ## Sets the axis limits. | 25 ## first and second elements specify the lower and upper limits for the x |
26 ## | 26 ## axis. The third and fourth specify the limits for the y axis, and the |
27 ## With no arguments, turns autoscaling on. | 27 ## fifth and sixth specify the limits for the z axis. |
28 ## | 28 ## |
29 ## If your plot is already drawn, then you need to REPLOT before | 29 ## With no arguments, @code{axis} turns autoscaling on. |
30 ## the new axis limits will take effect. | 30 ## |
31 ## If your plot is already drawn, then you need to use @code{replot} before | |
32 ## the new axis limits will take effect. You can get this to happen | |
33 ## automatically by setting the built-in variable @code{automatic_replot} | |
34 ## to a nonzero value. | |
35 ## @end deftypefn | |
31 | 36 |
32 ## Author: jwe | 37 ## Author: jwe |
33 | 38 |
34 function curr_axis = axis (ax) | 39 function curr_axis = axis (ax) |
35 | 40 |