heatmap
Pseudo heatmap plot.
Return
the plot canvas.
Parameters
z
a data matrix to be shown in heatmap.
palette
the color palette.
fun heatmap(x: DoubleArray, y: DoubleArray, z: Array<DoubleArray>, palette: Array<Color> = Palette.jet(16)): Canvas(source)
Pseudo heatmap plot with coordinate axes.
Return
the plot canvas.
Parameters
x
x coordinate of data matrix cells. Must be in ascending order.
y
y coordinate of data matrix cells. Must be in ascending order.
z
a data matrix to be shown in heatmap.
palette
the color palette.
fun heatmap(rowLabels: Array<String>, columnLabels: Array<String>, z: Array<DoubleArray>, palette: Array<Color> = Palette.jet(16)): Canvas(source)
Pseudo heatmap plot with row and column labels.
Return
the plot canvas.
Parameters
row Labels
the labels for rows of data matrix.
column Labels
the labels for columns of data matrix.
z
a data matrix to be shown in heatmap.
palette
the color palette.