CHistogram:SetBinCount CHistogram:SetCorrelated

CHistogram:SetBinWidth


The SetBinWidth method sets the bin width to a specified value.

Syntax

CHistogram:SetBinWidth( nBinWidth, nCount, nMinVal )

Remarks

This method is useful not only when you want to force the bin to a particular value but also to specify an integer bi width when using integer data. When the data are all integer values and the bin width is not an integer value, aliasing causes adjacent histogram bins to alternate high and low, producing a comb-like appearance. If you do not call one of the SetBin methods, Mira defaults to the SetBinAuto option. The maximum histogram value is calculated using the specified values of nMinVal, nCount, and nBinWidth.

Related Topics

CHistogram Class, SetBinCount, SetBinAuto