Contour Constructor (AxisXY, Double, Double, Double, Double, Int32) |
Creates a Contour chart from scattered data with computed
contour levels.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public Contour(
AxisXY axis,
double[] x,
double[] y,
double[] z,
double[] cLevel,
int nCenters
)
Public Sub New (
axis As AxisXY,
x As Double(),
y As Double(),
z As Double(),
cLevel As Double(),
nCenters As Integer
)
public:
Contour(
AxisXY^ axis,
array<double>^ x,
array<double>^ y,
array<double>^ z,
array<double>^ cLevel,
int nCenters
)
new :
axis : AxisXY *
x : float[] *
y : float[] *
z : float[] *
cLevel : float[] *
nCenters : int -> Contour
Parameters
- axis
- Type: Imsl.Chart2DAxisXY
An AxisXY containing the parent node of this Contour.
- x
- Type: SystemDouble
A double[] which contains the x-values of the data points.
- y
- Type: SystemDouble
A double[] which contains the y-values of the data points.
- z
- Type: SystemDouble
A double[] which contains the x-values of the data points.
- cLevel
- Type: SystemDouble
A double[] which contains the values of the contour levels.
- nCenters
- Type: SystemInt32
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