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

Increasing m increases the granularity emphasized by the map.

FLAG, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

For example, to reset the colormap of the current figure:

colormap(flag)

See also hsv, gray, hot, cool, copper, pink, bone,

colormap, rgbplot.

<lines> - Color map with the line colors.

LINES Color map with the line colors.

LINES(M) returns an M-by-3 matrix containing a "ColorOrder"

colormap. LINES, by itself, is the same length as the current

colormap.

For example, to set the colormap of the current figure:

colormap(lines)

See also hsv, gray, pink, cool, bone, copper, flag,

colormap, rgbplot.

<colorcube> - Enhanced color-cube color map.

COLORCUBE Enhanced color-cube color map.

COLORCUBE(M) returns an M-by-3 matrix containing a colorcube.

COLORCUBE, by itself, is the same length as the current colormap.

The colorcube contains as many regularly spaced colors in RGB

colorspace as possible, while attempting to provide more steps

of gray, pure red, pure green, and pure blue.

The algorithm for this cube was inspired by the default

Macintosh system colortable, and for M = 256, COLORCUBE returns

exactly the same colors. For M < 8, a gray ramp of length M

is returned.

See also colormap, rgbplot.

<vga> - Windows colormap for 16 colors.

VGA The Windows color map for 16 colors

VGA returns a 16-by-3 matrix containing the colormap

used by Windows for 4-bit color.

For example, to reset the colormap of the current figure:

colormap(vga)

See also hsv, gray, hot, cool, bone, copper, flag,

colormap, rgbplot.

<jet> - Variant of HSV.

JET Variant of HSV

JET(M), a variant of HSV(M), is an M-by-3 matrix containing

the default colormap used by CONTOUR, SURF and PCOLOR.

The colors begin with dark blue, range through shades of

blue, cyan, green, yellow and red, and end with dark red.

JET, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

See also hsv, hot, pink, flag, colormap, rgbplot.

<prism> - Prism color map.

PRISM Prism color map

PRISM(M) returns an M-by-3 matrix containing repeated use

of six colors: red, orange, yellow, green, blue, violet.

PRISM, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

PRISM, with no input or output arguments, changes the colors

of any line objects in the current axes to the prism colors.

The colors in the PRISM map are also present, in the same order,

In the hsv map. However, prism uses repeated copies of its six

colors, whereas HSV varies its colors smoothly.

See also hsv, flag, hot, cool, colormap, rgbplot, contour.

<cool> - Shades of cyan and magenta color map.

COOL Shades of cyan and magenta color map

COOL(M) returns an M-by-3 matrix containing a "cool" colormap.

COOL, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

For example, to reset the colormap of the current figure:

colormap(cool)

See also hsv, gray, hot, bone, copper, pink, flag,

colormap, rgbplot.

<autumn> - Shades of red and yellow color map.

AUTUMN Shades of red and yellow color map

AUTUMN(M) returns an M-by-3 matrix containing a "autumn" colormap.

AUTUMN, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

For example, to reset the colormap of the current figure:

colormap(autumn)

See also hsv, gray, hot, bone, copper, pink, flag,

colormap, rgbplot.

<spring> - Shades of magenta and yellow color map.

SPRING Shades of magenta and yellow color map

SPRING(M) returns an M-by-3 matrix containing a "spring" colormap.

SPRING, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

For example, to reset the colormap of the current figure:

colormap(spring)

See also hsv, gray, hot, bone, copper, pink, flag,

colormap, rgbplot.

<winter> - Shades of blue and green color map.

WINTER Shades of blue and green color map

WINTER(M) returns an M-by-3 matrix containing a "winter" colormap.

WINTER, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

For example, to reset the colormap of the current figure:

colormap(winter)

See also hsv, gray, hot, bone, copper, pink, flag,

colormap, rgbplot.

<summer> - Shades of green and yellow color map.

SUMMER Shades of green and yellow colormap

SUMMER(M) returns an M-by-3 matrix containing a "summer" colormap.

SUMMER, by itself, is the same length as the current figure's

colormap. If no figure exists, MATLAB creates one.

For example, to reset the colormap of the current figure:

colormap(summer)

See also hsv, gray, hot, bone, copper, pink, flag,

colormap, rgbplot.

Transparency

<alpha> - Transparency (alpha) mode.

ALPHA - Get or set alpha properties for objects in the current Axis

ALPHA(VALUE) - On all children of GCA, set an alpha property to VALUE.

ALPHA(OBJECT, VALUE) - Set the alpha on OBJECT to VALUE

Use a single alpha value for the object

ALPHA(scalar) - Set the face alpha to be the value of scalar

ALPHA('flat') - Set the face alpha to be flat.

ALPHA('interp') - Set the face alpha to be interp. (if applicable.)

ALPHA('texture')- Set the face alpha to be texture. (if applicable.)

ALPHA('opaque') - Set the face alpha to be 1.

ALPHA('clear') - Set the face alpha to be 0.

Specify an alpha value for each element in the object's data.

ALPHA(MATRIX) - Set the alphadata to be MATRIX.

ALPHA('x') - Set the alphadata to be the same as the x data.

ALPHA('y') - Set the alphadata to be the same as the y data.

ALPHA('z') - Set the alphadata to be the same as the z data.

ALPHA('color') - Set the alphadata to be the same as the color data.

ALPHA('rand') - Set the alphadata to be random values.

ALPHA('scaled') - Set the alphadatamapping to scaled.

ALPHA('direct') - Set the alphadatamapping to direct.

ALPHA('none') - Set the alphadatamapping to none.

See also alim, alphamap

Reference page in Help browser

doc alpha

<alphamap> - Transparency (alpha) look-up table.

ALPHAMAP - Set a figure's AlphaMap property

ALPHAMAP(MATRIX) - Set the current figure's AlphaMap property to MATRIX.

ALPHAMAP('default') - Set the AlphaMap to it's default value.

ALPHAMAP('rampup') - Create a linear alphamap with increasing opacity.

ALPHAMAP('rampdown') - Create a linear alphamap with decreasing opacity.

ALPHAMAP('vup') - Create an alphamap transparent in the center, and

linearly increasing to the beginning and end.

ALPHAMAP('vdown') - Create an alphamap opaque in the center, and

linearly decreasing to the beginning and end.

ALPHAMAP('increase') - Modify the alphamap making it more opaque.

ALPHAMAP('decrease') - Modify the alphamap making it more transparent.

ALPHAMAP('spin') - Rotate the current alphamap.

ALPHAMAP(PARAM, LENGTH) - For Parameters which create new maps, create

them with so they are LENGTH long.

ALPHAMAP(CHANGE, DELTA) - For parameters which change the alphamap, use

DELTA as a parameter.

ALPHAMAP(FIGURE,PARAM) - Set FIGURE's AlphaMap to some PARAMeter.

ALPHAMAP(FIGURE,PARAM,LENGTH)

ALPHAMAP(FIGURE,CHANGE)

ALPHAMAP(FIGURE,CHANGE,DELTA)

AMAP=ALPHAMAP - Fetch the current alphamap

AMAP=ALPHAMAP(FIGURE) - Fetch the current alphamap from FIGURE.

AMAP=ALPHAMAP(PARAM) - Return the alphamap based on PARAM

without setting the property.

See also alpha, alim, colormap.

Reference page in Help browser

doc alphamap

<alim> - Transparency (alpha) scaling

ALIM Alpha limits.

AL = ALIM gets the alpha limits of the current axes.

ALIM([AMIN AMAX]) sets the alpha limits.

ALMODE = ALIM('mode') gets the alpha limits mode.

ALIM(mode) sets the alpha limits mode.

(mode can be 'auto' or 'manual')

ALIM(AX,...) uses axes AX instead of current axes.

ALIM sets or gets the Alim or AlimMode property of an axes.

See also alpha, alphamap, caxis, colormap.

Reference page in Help browser

doc alim

Axis control

<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

<zoom> - Zoom in and out on a 2-D plot.

ZOOM Zoom in and out on a 2-D plot.

ZOOM with no arguments toggles the zoom state.

ZOOM(FACTOR) zooms the current axis by FACTOR.

Note that this does not affect the zoom state.

ZOOM ON turns zoom on for the current figure.

ZOOM XON or ZOOM YON turns zoom on for the x or y axis only.

ZOOM OFF turns zoom off in the current figure.

ZOOM RESET resets the zoom out point to the current zoom.

ZOOM OUT returns the plot to its current zoom out point.

If ZOOM RESET has not been called this is the original

non-zoomed plot. Otherwise it is the zoom out point

set by ZOOM RESET.

When zoom is on, click the left mouse button to zoom in on the

point under the mouse. Each time you click, the axes limits will be

changed by a factor of 2 (in or out). You can also click and drag

to zoom into an area. It is not possible to zoom out beyond the plots'

current zoom out point. If ZOOM RESET has not been called the zoom

out point is the original non-zoomed plot. If ZOOM RESET has been

called the zoom out point is the zoom point that existed when it

was called. Double clicking zooms out to the current zoom out point -

the point at which zoom was first turned on for this figure

(or to the point to which the zoom out point was set by ZOOM RESET).

Note that turning zoom on, then off does not reset the zoom out point.

This may be done explicitly with ZOOM RESET.

ZOOM(FIG,OPTION) applies the zoom command to the figure specified

by FIG. OPTION can be any of the above arguments.

H = ZOOM(FIG) returns the figure's zoom mode object for customization.

The following properties can be modified using set/get:

ButtonDownFilter <function_handle>

The application can inhibit the zoom operation under circumstances

the programmer defines, depending on what the callback returns.

The input function handle should reference a function with two

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