[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

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON