[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/plotxy]

hist

(/tools/hpmatlab/toolbox/matlab/plotxy/hist.m)


Function Synopsis

[no,xo] = hist(y,x)

Help text

HIST	Plot histograms.
	HIST(Y) plots a histogram with 10 equally spaced bins between
	the minimum and maximum values in Y, showing the distribution
	of the elements in vector Y.
	HIST(Y,N), where N is a scalar, uses N bins.
	HIST(Y,X), where X is a vector, draws a histogram using the
	bins specified in X.
	[N,X] = HIST(...) does not draw a graph, but returns vectors
	X and N such that BAR(X,N) is the histogram.

	See also BAR.

Cross-Reference Information

This function calls
This function is called by

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