
- •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
Vector the same length a X and y or a scalar. If s is a scalar,
MATLAB draws all the markers the same size. If S is empty, the
default size is used.
C determines the colors of the markers. When C is a vector the
same length as X and Y, the values in C are linearly mapped
to the colors in the current colormap. When C is a
length(X)-by-3 matrix, it directly specifies the colors of the
markers as RGB values. C can also be a color string. See ColorSpec.
SCATTER(X,Y) draws the markers in the default size and color.
SCATTER(X,Y,S) draws the markers at the specified sizes (S)
with a single color. This type of graph is also known as
a bubble plot.
SCATTER(...,M) uses the marker M instead of 'o'.
SCATTER(...,'filled') fills the markers.
SCATTER(AX,...) plots into AX instead of GCA.
H = SCATTER(...) returns handles to the scatter objects created.
Use PLOT for single color, single marker size scatter plots.
Example
load seamount
scatter(x,y,5,z)
See also scatter3, plot, plotmatrix.
Reference page in Help browser
doc scatter
<stem> - Discrete sequence or "stem" plot.
STEM Discrete sequence or "stem" plot.
STEM(Y) plots the data sequence Y as stems from the x axis
terminated with circles for the data value. If Y is a matrix then
each column is plotted as a separate series.
STEM(X,Y) plots the data sequence Y at the values specified
in X.
STEM(...,'filled') produces a stem plot with filled markers.
STEM(...,'LINESPEC') uses the linetype specified for the stems and
markers. See PLOT for possibilities.
STEM(AX,...) plots into axes with handle AX. Use GCA to get the
handle to the current axes or to create one if none exist.
H = STEM(...) returns a vector of stemseries handles in H, one handle
per column of data in Y.
See also plot, bar, stairs.
Reference page in Help browser
doc stem
<stairs> - Stairstep plot.
STAIRS Stairstep plot.
STAIRS(Y) draws a stairstep graph of the elements of vector Y.
STAIRS(X,Y) draws a stairstep graph of the elements in vector Y at
the locations specified in X.
STAIRS(...,STYLE) uses the plot linestyle specified by the
string STYLE.
STAIRS(AX,...) plots into AX instead of GCA.
H = STAIRS(X,Y) returns a vector of stairseries handles.
[XX,YY] = STAIRS(X,Y) does not draw a graph, but returns vectors
X and y such that plot(XX,yy) is the stairstep graph.
The above inputs to STAIRS can be followed by property/value
pairs to specify additional properties of the stairseries object.
Stairstep plots are useful for drawing time history plots of
zero-order-hold digital sampled-data systems.
See also bar, hist, stem.
Reference page in Help browser
doc stairs
Contour and 2-1/2 d graphs
<contour> - Contour plot.
CONTOUR Contour plot.
CONTOUR(Z) is a contour plot of matrix Z treating the values in Z
as heights above a plane. A contour plot are the level curves
of Z for some values V. The values V are chosen automatically.
CONTOUR(X, Y, Z) X and Y specify the (x, y) coordinates of the
surface as for SURF. The X and Y data will be transposed or sorted
to bring it to MESHGRID form depending on the span of the first
row and column of X (to orient the data) and the order of the
first row of X and the first column of Y (to sorted the data). The