| STAIRS |

» help stairs
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. The X-values must be in
ascending order and evenly spaced.
STAIRS(...,STYLE) uses the plot linestyle specified by the
string STYLE.
H = STAIRS(X,Y) returns a vector of line 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.
Stairstep plots are useful for drawing time history plots of
zero-order-hold digital sampled-data systems.
See also BAR, HIST, STEM.