CHistogram:GetMin
The GetMin method returns the actual minimum value used by the histogram Calc method. This method is useful when the minimum value is not known either because the default binning was used or the SetBinAuto method was used.
nMinVal = CHistogram:GetMin()
where
nMinVal is the minimum value used in computing the histogram.
The following script retrieves the minimum value for use in setting up an x axis for plotting the histogram.
|
-- create a Histogram object |
|
-- create this number of random deviates |
|
|
|
|
|
-- plot the histogram using default settings |
|
|