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

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public Contour(
	AxisXY axis,
	double[] x,
	double[] y,
	double[] z,
	double[] cLevel,
	int nCenters
)
Visual Basic (Declaration)
Public Sub New ( _
	axis As AxisXY, _
	x As Double(), _
	y As Double(), _
	z As Double(), _
	cLevel As Double(), _
	nCenters As Integer _
)
Visual C++
public:
Contour(
	AxisXY^ axis, 
	array<double>^ x, 
	array<double>^ y, 
	array<double>^ z, 
	array<double>^ cLevel, 
	int nCenters
)

Parameters

axis
Type: Imsl.Chart2D..::.AxisXY
An AxisXY containing the parent node of this Contour.
x
Type: array< System..::.Double >[]()[]
A double[] which contains the x-values of the data points.
y
Type: array< System..::.Double >[]()[]
A double[] which contains the y-values of the data points.
z
Type: array< System..::.Double >[]()[]
A double[] which contains the x-values of the data points.
cLevel
Type: array< System..::.Double >[]()[]
A double[] which contains the values of the contour levels.
nCenters
Type: System..::.Int32
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