[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/graphics]
axis
(/tools/hpmatlab/toolbox/matlab/graphics/axis.m)
Function Synopsis
[ans1, ans2, ans3] = axis(arg1, arg2, arg3, arg4);
Help text
AXIS Plot axis scaling and appearance.
AXIS([XMIN XMAX YMIN YMAX]) sets scaling for the x- and y-axes
on the current plot.
AXIS([XMIN XMAX YMIN YMAX ZMIN ZMAX]) sets the scaling for the
x-, y- and z-axes on the current 3-D plot.
AXIS('auto') returns the axis scaling to its default, automatic
mode where, for each plot, xmin = min(x), xmax = max(x), etc.
V = AXIS returns a row vector containing the scaling for the
current plot. If the current plot is two-dimensional, V has
four components; if it is three-dimensional, V has six components.
AXIS(AXIS) freezes the scaling at the current limits, so that if
HOLD is turned on, subsquent plots will use the same limits.
AXIS('ij') puts MATLAB into its "matrix" axes mode. The coordinate
system origin is at the upper left corner. The i axis is vertical
and is numbered from top to bottom. The j axis is horizontal and
is numbered from left to right.
AXIS('xy') puts MATLAB into its default "Cartesian" axes mode.
The coordinate system origin is at the lower left corner. The x axis
is horizontal and is numbered from left to right. The y axis is
vertical and is numbered from bottom to top.
AXIS('equal') changes the current axis box size so that equal tick
mark increments on the x- and y-axis are equal in size. This makes
PLOT(SIN(X),COS(X)) look like a circle, instead of an oval.
AXIS('square') makes the current axis box square in size.
AXIS('image'), for images, makes the aspect ratio the same size as
the image.
AXIS('normal') restores the current axis box to full size and
removes any restrictions on the scaling of the units.
This undoes the effects of AXIS('square') and AXIS('equal').
AXIS('image') sets the aspect ratio and the axis limits so the
image in the current axes has square pixels.
AXIS('off') turns off all axis labeling and tick marks.
AXIS('on') turns axis labeling and tick marks back on.
[S1,S2,S3] = AXIS('state') returns strings indicating the
current setting of three axis properties.
S1 = 'auto' or 'manual'.
S2 = 'on' or 'off'.
S3 = 'xy' or 'ij'.
Cross-Reference Information
This function calls
- diff /tools/hpmatlab/toolbox/matlab/datafun/diff.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- eval /tools/hpmatlab/toolbox/matlab/lang/eval.m
- find /tools/hpmatlab/toolbox/matlab/ops/find.m
- for /tools/hpmatlab/toolbox/matlab/lang/for.m
- gca /tools/hpmatlab/toolbox/matlab/graphics/gca.m
- get /tools/hpmatlab/toolbox/matlab/graphics/get.m
- i /tools/hpmatlab/toolbox/matlab/elmat/i.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- image /tools/hpmatlab/toolbox/matlab/graphics/image.m
- ishold /tools/hpmatlab/toolbox/matlab/graphics/ishold.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- min /tools/hpmatlab/toolbox/matlab/datafun/min.m
- nan /tools/hpmatlab/toolbox/matlab/elmat/nan.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- nargout /tools/hpmatlab/toolbox/matlab/elmat/nargout.m
- set /tools/hpmatlab/toolbox/matlab/graphics/set.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
- square /tools/hpmatlab/toolbox/signal/square.m
This function is called by
- alphacontrol ee2200/alphacontrol.m
- bar /tools/hpmatlab/toolbox/matlab/plotxy/bar.m
- comet /tools/hpmatlab/toolbox/matlab/plotxy/comet.m
- compass /tools/hpmatlab/toolbox/matlab/plotxy/compass.m
- complex_exampleee2200/complex_example.m
- dc2sc /tools/hpmatlab/toolbox/matlab/graphics/dc2sc.m
- feather /tools/hpmatlab/toolbox/matlab/plotxy/feather.m
- fplot /tools/hpmatlab/toolbox/matlab/plotxy/fplot.m
- ginput /tools/hpmatlab/toolbox/matlab/graphics/ginput.m
- inquire /tools/hpmatlab/toolbox/matlab/general/inquire.m
- menu /tools/hpmatlab/toolbox/matlab/lang/menu.m
- moddemo /tools/hpmatlab/toolbox/signal/moddemo.m
- pez ee2200/pez.m
- pez_dp ee2200/pez_dp.m
- pez_dz ee2200/pez_dz.m
- pez_ep ee2200/pez_ep.m
- pez_ez ee2200/pez_ez.m
- polar /tools/hpmatlab/toolbox/matlab/plotxy/polar.m
- polyline /tools/hpmatlab/toolbox/matlab/plotxy/polyline.m
- polymark /tools/hpmatlab/toolbox/matlab/plotxy/polymark.m
- sc2dc /tools/hpmatlab/toolbox/matlab/graphics/sc2dc.m
- show_img ee2200/show_img.m
- sosdemo /tools/hpmatlab/toolbox/signal/sosdemo.m
- specgram /tools/hpmatlab/toolbox/signal/specgram.m
- stem /tools/hpmatlab/toolbox/matlab/plotxy/stem.m
- striplot ee2200/striplot.m
- ucplot ee2200/ucplot.m
- zcat ee2200/zcat.m
- zcoords ee2200/zcoords.m
- zplane /tools/hpmatlab/toolbox/signal/zplane.m
- zvect ee2200/zvect.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON