ScatterPlot.GetMinBandwidth

Prototypes

double GetMinBandwidth( int nCurveNum )

Return Value

The return value is the minimum allowed bandwidth for the specified curve.

Parameters

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

Remarks

This method returns the smallest allowed bandwidth for 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 );
minBandwidth = plot.GetMinBandwidth( 1 );
print minBandwidth;