PIVMat Function Reference | << Prev | Next >> |

Displays distributions of scalar fields.

**histscal_disp**(S) displays the distributions of the scalar field(s) S.
**histscal_disp**(S,SMOOTH) computes the velocity distributions averaged
over SMOOTH consecutive fields. Use SMOOTH=1 for no smoothing, or
SMOOTH=0 to smooth over all the fields (by default). If SMOOTH>1,
press a key between each figure.
**histscal_disp**(S,SMOOTH,BIN) computes the histograms among the bins
specified by the vector BIN. If this argument is not present, the
appropriate range of bins is estimated from the rms of the first
field.
**histscal_disp**(...,OPT), where OPT is a string that may contain one or
more of the following letters (all by default):
'n': normalize the histogram (pdf)
'g': also displays a gaussian fit
'l': log-coordinate for the y axis

**Example**
v = loadvec('*.vc7');
**histscal_disp**(vec2scal(v,'rot'));

**See Also**
histf, histvec_disp.
Published output in the Help browser
showdemo **histscal_disp**

Previous: histf | Next: histvec_disp |

2005-2016 PIVMat Toolbox 4.01