staircase

fun staircase(data: Array<DoubleArray>, color: Color = Color.BLACK, label: String? = null): Canvas(source)

Staircase line plot.

Return

the plot canvas.

Parameters

data

an n x 2 or n x 3 matrix that describes coordinates of points.

color

the line color.

label

the legend label.