Heatmap Constructor (AxisXY, Double, Double, Double, Double, Double, Double, Double, Colormap) |
Creates a Heatmap from a double[,] and a
Colormap.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public Heatmap(
AxisXY axis,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax,
double[,] data,
Colormap colormap
)
Public Sub New (
axis As AxisXY,
xmin As Double,
xmax As Double,
ymin As Double,
ymax As Double,
zmin As Double,
zmax As Double,
data As Double(,),
colormap As Colormap
)
public:
Heatmap(
AxisXY^ axis,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax,
array<double,2>^ data,
Colormap^ colormap
)
new :
axis : AxisXY *
xmin : float *
xmax : float *
ymin : float *
ymax : float *
zmin : float *
zmax : float *
data : float[,] *
colormap : Colormap -> Heatmap
Parameters
- axis
- Type: Imsl.Chart2DAxisXY
An AxisXY object which specifes the parent of this node.
- xmin
- Type: SystemDouble
A double which specifies the minimum x-value of the
color data.
- xmax
- Type: SystemDouble
A double which specifies the maximum x-value of the
color data.
- ymin
- Type: SystemDouble
A double which specifies the minimum y-value of the
color data.
- ymax
- Type: SystemDouble
A double which specifies the maximum y-value of the
color data.
- zmin
- Type: SystemDouble
A double which specifies the data value that corresponds to
the initial (t=0) value in the Colormap.
- zmax
- Type: SystemDouble
A double which specifies the data value that corresponds to
the final (t=1) value in the Colormap.
- data
- Type: SystemDouble
A double[,] containing the data values.
- colormap
- Type: Imsl.Chart2DColormap
Maps the values in data to colors.
Remarks
The x-interval (xmin, xmax) is uniformly divided and mapped into the first index of
data. The y-interval (ymin, ymax) is uniformly divided and mapped
into the second index of data. So, the value of
data[0,0] is used to determine the color
of the cell whose lower left corner is (xmin,
ymin).
If a cell has a data value equal to t then its color
is the value of the colormap at s, where
.
See Also