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( )
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 |
|
|
|
-- separate the 3 parameters for clarity |
|
|
|
|
|
-- create a series for the histgram x axis |
|
-- plot the histogram using default settings |
|
|
CHistogram Class, SetBinAuto, GetMax, series
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.