CHistogram:Class Description CHistogram:GetBinCount

CHistogram:delete


The delete method deletes an instance of the CHistogram class. Call delete when you are finished using the particular instance of this class. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CHistogram:delete()

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 = CHistogram:new()

-- create a Histogram object

y = H:Calc( GaussDev(1000000) )

-- compute a histogram

x = Index(100)

-- create x axis values

SteplinePlot( x, y )

-- plot the histogram

H:delete()

-- clean up memory when done

Related Topics

CHistogram Class, new