plot/line
src/plot/line.tur
defn
function
(function [f x-min : float x-max : float samples : int style : int label : cstr] :)
sample y=f(x) over [x-min, x-max].
defn
lines
(lines [vs : int style : int label : cstr] :)
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] :)
sample f(t) -> (cons x y).
defn
polar
(polar [f theta-min : float theta-max : float samples : int style : int label : cstr] :)
sample radius=f(theta).
defn
inverse
(inverse [f y-min : float y-max : float samples : int style : int label : cstr] :)
sample x=f(y) over [y-min, y-max].
defn
density
(density [vs : int bandwidth : float samples : int style : int label : cstr] :)
kernel density estimate from a cons list of samples.
Internal definitions
__nan-- quiet NaN sentinel for "auto y bound" on function-style renderers.