Creates a Contour chart from rectangularly gridded 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[] xGrid, double[] yGrid, double[,] zData ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ axis As AxisXY, _ xGrid As Double(), _ yGrid As Double(), _ zData As Double(,) _ ) |
Visual C++ |
---|
public: Contour( AxisXY^ axis, array<double>^ xGrid, array<double>^ yGrid, array<double,2>^ zData ) |
Parameters
- axis
- Type: Imsl.Chart2D..::.AxisXY
An AxisXY containing the parent node of this Contour.
- xGrid
- Type: array<
System..::.Double
>[]()[]
A double[] which contains the x-coordinate values of the grid.
- yGrid
- Type: array<
System..::.Double
>[]()[]
A double[] which contains the y-coordinate values of the grid.
- zData
- Type: array<
System..::.Double
,2>[,](,)[,]
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.