Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
19
Добавлен:
09.02.2015
Размер:
281.6 Кб
Скачать

Is the lower-left corner and (1.0,1.0) is the upper-right.

AXES, by itself, creates the default full-window axis and returns

a handle to it.

AXES(H) makes the axis with handle H current.

Execute GET(H) to see a list of axes object properties and

their current values. Execute SET(H) to see a list of axes

object properties and legal property values.

See also subplot, axis, figure, gca, cla.

Reference page in Help browser

doc axes

<gca> - Get handle to current axis.

GCA Get handle to current axis.

H = GCA returns the handle to the current axis in the current

figure. The current axis is the axis that graphics commands

like PLOT, TITLE, SURF, etc. draw to if issued.

Use the commands AXES or SUBPLOT to change the current axis

to a different axis, or to create new ones.

See also axes, subplot, delete, cla, hold, gcf, gcbo, gco, gcbf.

Reference page in Help browser

doc gca

<cla> - Clear current axis.

CLA Clear current axis.

CLA deletes all children of the current axes with visible handles.

CLA RESET deletes all objects (including ones with hidden handles)

and also resets all axes properties, except Position and Units, to

their default values.

CLA(AX) or CLA(AX,'RESET') clears the single axes with handle AX.

See also clf, reset, hold.

Reference page in Help browser

doc cla

<axis> - Control axis scaling and appearance.

AXIS Control 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([XMIN XMAX YMIN YMAX ZMIN ZMAX CMIN CMAX]) sets the

scaling for the x-, y-, z-axes and color scaling limits on

the current axis (see CAXIS).

V = AXIS returns a row vector containing the scaling for the

current plot. If the current view is 2-D, V has four

components; if it is 3-D, V has six components.

AXIS AUTO returns the axis scaling to its default, automatic

mode where, for each dimension, 'nice' limits are chosen based

on the extents of all line, surface, patch, and image children.

AXIS MANUAL freezes the scaling at the current limits, so that if

HOLD is turned on, subsequent plots will use the same limits.

AXIS TIGHT sets the axis limits to the range of the data.

AXIS FILL sets the axis limits and PlotBoxAspectRatio so that

the axis fills the position rectangle. This option only has

an effect if PlotBoxAspectRatioMode or DataAspectRatioMode are

manual.

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 sets the aspect ratio so that equal tick mark

increments on the x-,y- and z-axis are equal in size. This

makes SPHERE(25) look like a sphere, instead of an ellipsoid.

AXIS IMAGE is the same as AXIS EQUAL except that the plot

box fits tightly around the data.

AXIS SQUARE makes the current axis box square in size.

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 VIS3D freezes aspect ratio properties to enable rotation of

3-D objects and overrides stretch-to-fill.

AXIS OFF turns off all axis labeling, tick marks and background.

AXIS ON turns axis labeling, tick marks and background back on.

AXIS(H,...) changes the axes handles listed in vector H.

See also axes, grid, subplot, xlim, ylim, zlim.

Overloaded methods:

vrjoystick/axis

Reference page in Help browser

doc axis

<box> - Axis box.

BOX Axis box.

BOX ON adds a box to the current axes.

BOX OFF takes if off.

BOX, by itself, toggles the box state of the current axes.

BOX(AX,...) uses axes AX instead of the current axes.

BOX sets the Box property of an axes.

See also grid, axes.

Reference page in Help browser

doc box

<caxis> - Control pseudocolor axis scaling.

CAXIS Pseudocolor axis scaling.

CAXIS(V), where V is the two element vector [cmin cmax], sets manual

scaling of pseudocolor for the SURFACE and PATCH objects created by

commands like MESH, PCOLOR, and SURF. cmin and cmax are assigned

to the first and last colors in the current colormap. Colors for PCOLOR

and SURF are determined by table lookup within this range. Values

outside the range are clamped to the first or last colormap color.

CAXIS('manual') fixes axis scaling at the current range.

CAXIS('auto') sets axis scaling back to autoranging.

CAXIS, by itself, returns the two element row vector containing the

[cmin cmax] currently in effect.

CAXIS(AX,...) uses axes AX instead of the current axes.

CAXIS is a function that sets the axes properties CLim and CLimMode.

See also colormap, axes, axis.

Reference page in Help browser

doc caxis

<hold> - Hold current graph

HOLD Hold current graph

HOLD ON holds the current plot and all axis properties so that

subsequent graphing commands add to the existing graph.

HOLD OFF returns to the default mode whereby PLOT commands erase

the previous plots and reset all axis properties before drawing

new plots.

HOLD, by itself, toggles the hold state.

HOLD does not affect axis autoranging properties.

HOLD ALL holds the plot and the current color and linestyle so

that subsequent plotting commands will not reset the color and

linestyle.

HOLD(AX,...) applies the command to the Axes object AX.

Algorithm note:

HOLD ON sets the NextPlot property of the current figure and

axes to "add".

HOLD OFF sets the NextPlot property of the current axes to

"replace".

See also ishold, newplot, figure, axes.

Reference page in Help browser

doc hold

<ishold> - Return hold state.

ISHOLD Return hold state.

ISHOLD returns 1 if hold is on, and 0 if it is off.

When HOLD is ON, the current plot and all axis properties

are held so that subsequent graphing commands add to the

existing graph.

Hold on means the NextPlot property of both figure

and axes is set to "add".

See also hold, newplot, figure, axes.

Reference page in Help browser

doc ishold

Соседние файлы в папке Библиотеки Matlab