line

fun line(data: Array<DoubleArray>, style: Line.Style = Line.Style.SOLID, color: Color = Color.BLACK, mark: Char = ' ', label: String? = null): Canvas(source)

Line plot.

Return

the plot canvas.

Parameters

data

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

style

the stroke style of line.

color

the color of line.

mark

the mark used to draw data points.

label

the legend label.