kandy 0.6.0 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: 10 May 2024