ScatterPlot.GetBandwidth

Prototypes

double GetBandwidth( int nCurveNum )

Return Value

The return value is the bandwidth of the specified curve.

Parameters

int nCurveNum
The number (1-based) of the curve whose bandwidth you want to retrieve.

Remarks

This method returns the bandwidth of curve number nCurveNum.

Example
x = { 1 2 3 4 5 6 7 8 };
y = { 2 1 4 5 6 5 6 9 };
declare ScatterPlot plot;
plot = ScatterPlot.Create( "Sample Data", x, y );
plot.CreateKernelCurve( ESTIMATOR_EVALUATION,
                        KERNEL_BIWEIGHT,
                        BANDWIDTH_RICET );
bandwidth = plot.GetBandwidth( 1 );
print bandwidth;