IMSL C# Numerical Library

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

Creates a Contour chart from rectangularly gridded data with computed contour levels.

public Contour(
   AxisXY axis,
   double[] xGrid,
   double[] yGrid,
   double[,] zData
);

Parameters

axis
An AxisXY containing the parent node of this Contour.
xGrid
A double[] which contains the x-coordinate values of the grid.
yGrid
A double[] which contains the y-coordinate values of the grid.
zData
A double[,] which contains the function values to be contoured.

Remarks

The contour levels are chosen to span the data and to be "nice" values. The value of the function at (xGrid[i], yGrid[j]) is given by zData[i][j]. The size of zData must be xGrid.Length by yGrid.Length.

See Also

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