new_histogram
The new_histogram function is a non-class version of the CHistogram:new method which creates and returns a new CHistogram object.
H = new_histogram()
H is returned as a new CHistogram object with properties initialized to default values.
On failure, nil is returned.
The following script creates a CHistogram object and uses it to calculate a histogram of data.
|
-- create a Histogram object |
|
-- compute a histogram |
|
-- create x axis values |
|
-- plot the histogram |
|
-- clean up memory when done |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.