histf.mBack to Contents<< Prev |  Next >> 

histf
Histogram of a vector/scalar field

Description
H = histf(F) computes the histogram H of the field(s) F into 100 
equally spaced bin. The appropriate range of bins is estimated from the 
rms of the the first field. 
 
H = histf(F,BIN) computes the histograms among the bins specified by 
the vector BIN.  BIN can be in the form LINSPACE(-X,X,N). 
 
If F is a vector field, use [HX, HY] = histf(F,..) to compute the 
histogram for each component of the vector field. 
 
[...,BIN] = histf(...) also returns the bins vector BIN used for the 
computation of the histogram. This is useful if BIN is estimated by 
histf itself. 
 
By default, histf considers the values 0 as erroneous, and does not 
include them in the histogram. If however the values 0 are to be 
included, specify histf(...,'0'); 
 
Example: semilogy(histf(vec2scal(loadset,'rot'))); 
 
F. Moisy 
Revision: 1.20,  Date: 2005/10/13 
 
See Also
histscal_disp. 

 Previous: hannNext: histscal_disp 

Help file generated by m2html 1.06