kandy 0.6.0 Help

Smoothed Line

val xs = listOf(-3.0, -2.5, -2.0, -1.5, -1.0, 0.0, 1.0, 1.5, 2.0, 2.5, 3.0) val ys = listOf(-5.4, -1.2, 3.4, 0.1, -0.6, -2.1, 0.6, 2.2, 3.4, 4.5, 6.7) plot { smoothLine(xs, ys, smootherPointCount = 30) { width = 2.3 color = Color.GREEN } }
Smoothed Line
Last modified: 10 May 2024