kandy 0.6.0 Help

Functional Bar Plot

val xs = (-80..80).map { it.toDouble() / 8.0 } val function = { x: Double -> sin(x / 1.5) } val ys = xs.map(function) plot { bars { x(xs) y(ys) } }
Functional Bar Plot
Last modified: 10 May 2024