surface

fun surface(z: Array<DoubleArray>, palette: Array<Color> = Palette.jet(16)): Canvas(source)

3D surface plot.

Return

the plot canvas.

Parameters

z

the z-axis values of surface.

palette

the color palette.


fun surface(x: DoubleArray, y: DoubleArray, z: Array<DoubleArray>, palette: Array<Color> = Palette.jet(16)): Canvas(source)

3D surface plot with coordinate grid.

Return

the plot canvas.

Parameters

x

the x-axis values of surface.

y

the y-axis values of surface.

z

the z-axis values of surface.

palette

the color palette.