[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/plotxy]
plot
(/tools/hpmatlab/toolbox/matlab/plotxy/plot.m)
Help text
PLOT Plot vectors or matrices.
PLOT(X,Y) plots vector X versus vector Y. If X or Y is a matrix,
then the vector is plotted versus the rows or columns of the matrix,
whichever line up.
PLOT(Y) plots the columns of Y versus their index.
If Y is complex, PLOT(Y) is equivalent to PLOT(real(Y),imag(Y)).
In all other uses of PLOT, the imaginary part is ignored.
Various line types, plot symbols and colors may be obtained with
PLOT(X,Y,S) where S is a 1, 2 or 3 character string made from
the following characters:
y yellow . point
m magenta o circle
c cyan x x-mark
r red + plus
g green - solid
b blue * star
w white : dotted
k black -. dashdot
-- dashed
For example, PLOT(X,Y,'c+') plots a cyan plus at each data point.
PLOT(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,...) combines the plots defined by
the (X,Y,S) triples, where the X's and Y's are vectors or matrices
and the S's are strings.
For example, PLOT(X,Y,'y-',X,Y,'go') plots the data twice, with a
solid yellow line interpolating green circles at the data points.
The PLOT command, if no color is specified, makes automatic use of
the colors in the above table. The default is yellow for one line,
and for multiple lines, to cycle through the first six colors
in the table.
PLOT returns a column vector of handles to LINE objects, one
handle per line.
The X,Y pairs, or X,Y,S triples, can be followed by
parameter/value pairs to specify additional properties
of the lines.
See also SEMILOGX, SEMILOGY, LOGLOG, GRID, CLF, CLC, TITLE,
XLABEL, YLABEL, AXIS, AXES, HOLD, and SUBPLOT.
Cross-Reference Information
This is called by
- bar /tools/hpmatlab/toolbox/matlab/plotxy/bar.m
- beatcontrol ee2200/beatcontrol.m
- cohere /tools/hpmatlab/toolbox/signal/cohere.m
- compass /tools/hpmatlab/toolbox/matlab/plotxy/compass.m
- complex_exampleee2200/complex_example.m
- csd /tools/hpmatlab/toolbox/signal/csd.m
- cztdemo /tools/hpmatlab/toolbox/signal/cztdemo.m
- enveloper ee2200/enveloper.m
- errorbar /tools/hpmatlab/toolbox/matlab/plotxy/errorbar.m
- feather /tools/hpmatlab/toolbox/matlab/plotxy/feather.m
- filtdemo /tools/hpmatlab/toolbox/signal/filtdemo.m
- fplot /tools/hpmatlab/toolbox/matlab/plotxy/fplot.m
- freqz /tools/hpmatlab/toolbox/signal/freqz.m
- grpdelay /tools/hpmatlab/toolbox/signal/grpdelay.m
- hold /tools/hpmatlab/toolbox/matlab/graphics/hold.m
- moddemo /tools/hpmatlab/toolbox/signal/moddemo.m
- pez ee2200/pez.m
- polar /tools/hpmatlab/toolbox/matlab/plotxy/polar.m
- psd /tools/hpmatlab/toolbox/signal/psd.m
- sosdemo /tools/hpmatlab/toolbox/signal/sosdemo.m
- specplot /tools/hpmatlab/toolbox/signal/specplot.m
- spectrum /tools/hpmatlab/toolbox/signal/spectrum.m
- stairs /tools/hpmatlab/toolbox/matlab/plotxy/stairs.m
- stem /tools/hpmatlab/toolbox/matlab/plotxy/stem.m
- striplot ee2200/striplot.m
- strips /tools/hpmatlab/toolbox/signal/strips.m
- subplot /tools/hpmatlab/toolbox/matlab/graphics/subplot.m
- tfe /tools/hpmatlab/toolbox/signal/tfe.m
- ucplot ee2200/ucplot.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