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.

Syntax

CHistogram:delete()

bullet.gif    In place of CHistogram, use the actual name of the object being deleted.

Example

The following script creates a histogram of data and then deletes the CHistogram object.

H = new_histogram

-- create a Histogram object

y = H:Calc( gaussdev(1000000) )

-- compute a histogram

x = series(100)

-- create x axis values

stepline( x, y )

-- plot the histogram

H:delete()

-- clean up memory when done

Related Topics

CHistogram Class, new


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.