
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k1,k2 in myfun:
- •Is collected along a path.
- •Vector y are drawn as bars in descending order. Each bar will
- •Vector the same length a X and y or a scalar. If s is a scalar,
- •X and y such that plot(XX,yy) is the stairstep graph.
- •Contour and 2-1/2 d graphs
- •X and y data must be consistently sorted in that if the first
- •2 Inches.
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfun:
- •Specialized 3-d graphs
- •Inputs.
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfuntk:
- •If your function has additional parameters, for example k in myfun:
- •If your function has additional parameters, for example k in myfun:
- •Is drawn beneath the mesh.
- •Values in X are normalized via X/sum(X) to determine the area of
- •Volume array.
- •Vector data u,V. The arrays X,y define the coordinates for u,V and
- •Instead of an arrow on the tip. Use a marker of '.' to specify
- •Instead of an arrow on the tip. Use a marker of '.' to specify
- •Interpreted.
- •Instead of the current axes.
- •Imread Read image from graphics file.
- •In the structure returned from imfinfo function.
- •In order to create a cmyk tiff, the colorspace
- •In addition to these png parameters, you can use any
- •Images), 'rle' (run-length encoding of 1-bit
- •Image(f.Cdata);
- •In the movie. For example, if m has four frames then
- •Color related functions
- •Solid modeling
X and y data must be consistently sorted in that if the first
element of a column of X is larger than the first element of
another column that all elements in the first column are larger
than the corresponding elements of the second. Similarly Y must be
consistently sorted along rows.
CONTOUR(Z, N) and CONTOUR(X, Y, Z, N) draw N contour lines,
overriding the automatic value.
CONTOUR(Z, V) and CONTOUR(X, Y, Z, V) draw LENGTH(V) contour lines
at the values specified in vector V. Use CONTOUR(Z, [v, v]) or
CONTOUR(X, Y, Z, [v, v]) to compute a single contour at the level v.
CONTOUR(AX, ...) plots into AX instead of GCA.
[C, H] = CONTOUR(...) returns contour matrix C as described in
CONTOURC and a handle H to a contourgroup object. This handle can
be used as input to CLABEL.
The contours are normally colored based on the current colormap
and are drawn as PATCH objects. You can override this behavior
with the syntax CONTOUR(..., LINESPEC) to draw the contours
with the color and linetype specified. See the help for PLOT
for more information about LINESPEC values.
The above inputs to CONTOUR can be followed by property/value
pairs to specify additional properties of the contour object.
Uses code by R. Pawlowicz to handle parametric surfaces and
inline contour labels.
Example:
[c, h] = contour(peaks); clabel(c, h); colorbar;
See also contour3, contourf, clabel, colorbar, meshgrid.
Overloaded methods:
xregmodel/contour
xregarx/contour
sweepset/contour
Reference page in Help browser
doc contour
<contourf> - Filled contour plot.
CONTOURF Filled contour plot.
CONTOURF(...) is the same as CONTOUR(...) except that the areas
between contours are filled with colors according to the Z-value
for each level. Contour regions with data values at or above a
given level are filled with the color that maps to the interval.
NaN's in the Z-data leave white holes with black borders in the
contour plot.
When you use the CONTOUR(Z, V) syntax to specify a vector of contour
levels (V must increase monotonically), contour regions with
Z-values less than V(1) are not filled (are rendered in white).
To fill such regions with a color, make V(1) less than or equal to
the minimum Z-data value.
C = CONTOURF(...) returns contour matrix C as described in CONTOURC
and used by CLABEL.
[C, H] = CONTOURF(...) also returns a handle H to a CONTOURGROUP object.
Example:
z = peaks;
[c, h] = contourf(z); clabel(c, h); colorbar;
z = peaks;
contourf(z, [min(z(:)), -6 : 8]);
See also contour, contour3, clabel, colorbar.
Reference page in Help browser
doc contourf
<contour3> - 3-D Contour plot.
CONTOUR3 3-D contour plot.
CONTOUR3(...) is the same as CONTOUR(...) except that:
* the contours are drawn at their corresponding Z level
* multiple patch objects are created instead of a contourgroup
* CONTOUR3 does not accept property-value pairs. Use SET instead
on the patch handles.
C = CONTOUR3(...) returns contour matrix C as described in CONTOURC
and used by CLABEL.
[C, H] = CONTOUR3(...) returns a column vector H of handles to PATCH
objects. The UserData property of each object contains the height
value for each contour.
Example:
contour3(peaks);
See also contour, contourf, clabel, colorbar.
Reference page in Help browser
doc contour3
<clabel> - Contour plot elevation labels.
CLABEL Contour plot elevation labels.
CLABEL(CS, H) adds height labels to the contour plot specified by H.
The labels are rotated and inserted within the contour lines. CS and H
are the contour matrix output and object handle outputs from CONTOUR,
CONTOUR3, or CONTOURF.
CLABEL(CS, H, V) labels just those contour levels given in
vector V. The default action is to label all known contours.
The label positions are selected randomly.
CLABEL(CS, H, 'manual') places contour labels at the locations
clicked on with a mouse. Pressing the return key terminates
labeling. Use the space bar to enter contours and the arrow
keys to move the crosshair if no mouse is available.
CLABEL(CS) or CLABEL(CS, V) or CLABEL(CS, 'manual') places
contour labels as above, except that the labels are drawn as
plus signs on the contour with a nearby height value.
H = CLABEL(...) returns handles to the TEXT (and possibly LINE)
objects in H. The UserData property of the TEXT objects contain
the height value for each label.
CLABEL(..., 'text property', property_value, ...) allows arbitrary
TEXT property/value pairs to specified for the label strings.
One special property ('LabelSpacing') is also available to specify
the spacing between labels (in points). This defaults to 144, or