CHistogram:delete
The delete method deletes a CHistogram object and sets it to nil. Call delete when you are finished using the object. Note that Mira automatically deletes all class objects when the script finishes.
CHistogram:delete()
In place of CHistogram, use the actual name of the object being deleted.
The following script creates a histogram of data and then deletes the CHistogram object.
|
-- 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 Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.