IMSL C# Numerical Library

Contour Constructor (AxisXY, Double[], Double[], Double[], Double[], Int32)

Creates a Contour chart from scattered data with computed contour levels.

public Contour(
   AxisXY axis,
   double[] x,
   double[] y,
   double[] z,
   double[] cLevel,
   int nCenters
);

Parameters

axis
An AxisXY containing the parent node of this Contour.
x
A double[] which contains the x-values of the data points.
y
A double[] which contains the y-values of the data points.
z
A double[] which contains the x-values of the data points.
cLevel
A double[] which contains the values of the contour levels.
nCenters
An int specifying the number of centers to use for the radial basis approximation.

Remarks

The contour chart is created by using a radial basis approximation to estimate the functions value on a rectangular grid. The contour chart is then computed as for gridded data.

A larger number of centers will provide a closer, but noiser approximation.

See Also

Contour Class | Imsl.Chart2D Namespace | Contour Constructor Overload List | RadialBasis