plot/line
src/plot/line.tur
defn
function
(function [f x-min :float x-max :float samples :int style :int label :cstr] :int)
sample y=f(x) over [x-min, x-max].
defn
lines
(lines [vs :int style :int label :cstr] :int)
draw a polyline through a cons list of (cons x y) points.
defn
parametric
(parametric [f t-min :float t-max :float samples :int style :int label :cstr] :int)
sample f(t) -> (cons x y).
defn
polar
(polar [f theta-min :float theta-max :float samples :int style :int label :cstr] :int)
sample radius=f(theta).
defn
inverse
(inverse [f y-min :float y-max :float samples :int style :int label :cstr] :int)
sample x=f(y) over [y-min, y-max].
defn
density
(density [vs :int bandwidth :float samples :int style :int label :cstr] :int)
kernel density estimate from a cons list of samples.