[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/plotxy]
stairs
(/tools/hpmatlab/toolbox/matlab/plotxy/stairs.m)
Function Synopsis
[xo,yo] = stairs(x,y)
Help text
STAIRS Stairstep graph (bar graph without internal lines).
Stairstep plots are useful for drawing time history plots of
digital sampled-data systems.
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. The X-values must be in
ascending order and evenly spaced.
[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.
See also BAR, HIST.
Cross-Reference Information
This function calls
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- for /tools/hpmatlab/toolbox/matlab/lang/for.m
- i /tools/hpmatlab/toolbox/matlab/elmat/i.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- min /tools/hpmatlab/toolbox/matlab/datafun/min.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- nargout /tools/hpmatlab/toolbox/matlab/elmat/nargout.m
- plot /tools/hpmatlab/toolbox/matlab/plotxy/plot.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON