kandy 0.8.0-RC1 Help

Functional Area Plot

val xs = (-2000..2000).map { it / 500.0f } val function = { x: Float -> sin(x) * cos(x * 2 + 1) * sin(3 * x + 2) } val ys = xs.map(function) plot { area { x(xs) y(ys) } }
Functional Area Plot
Last modified: 23 November 2023