xyPlot

fun xyPlot(xSize: Int, ySize: Int, plotFeature: PlotFeature, f: (Int, Int) -> Float): Plot

Create a tile plot with weights from specified function f(x, y) that specifies the intensity of the single tile on the plot (x, y) position.

Return

Plot for specified function on defined domain

Parameters

xSize

size of X domain of f function as a range [0, xSize)

ySize

size of Y domain of f function as a range [0, ySize)

plotFeature

filling colors of the created plot

f

function that is plotted

fun xyPlot(imageSize: Int, plotFeature: PlotFeature, f: (Int, Int) -> Float): Plot

Create a tile plot with weights from specified function f(x, y) that specifies the intensity of the single tile on the plot (x, y) position.

Return

Plot for specified function on defined domain

Parameters

imageSize

size of X and Y domains of f function as a range [0, imageSize)

plotFeature

filling colors of the created plot

f

function that is plotted