No matching definitions.

plot/interval

src/plot/interval.tur
defstruct

FunctionIntervalR

(defstruct FunctionIntervalR :copy [f1 : (fn [float])

the band between y = f1(x) and y = f2(x).

defstruct

LinesIntervalR

(defstruct LinesIntervalR :copy [lower : (Vec Point) upper : (Vec Point) fill : FillStyle style : LineStyle label : cstr])

the band between two point lists: it runs along

defstruct

ParametricIntervalR

(defstruct ParametricIntervalR :copy [f1 : (fn [float])

the band between two parametric curves, Points f(t).

defstruct

PolarIntervalR

(defstruct PolarIntervalR :copy [f1 : (fn [float])

the band between two polar curves radius = f(theta).

defn

function-interval

(function-interval [^fat f1 : (fn [float])

shade between f1(x) and f2(x).

f1the lower curve, a (fn [float] float)
f2the upper curve, a (fn [float] float)
x-minstart of the sampled domain
x-maxend of the sampled domain
samplessample count (at least 32 are drawn)
fillthe FillStyle of the band
stylethe LineStyle of its outline
labellegend text ("" for none)

A FunctionIntervalR boxed as an AnyRenderer.

(function-interval lo hi -1.0 1.0 96 (default-fill-style) (default-line-style) "band")
defn

lines-interval

(lines-interval [vs1 : (Vec Point) vs2 : (Vec Point) fill : FillStyle style : LineStyle label : cstr] :)

shade between two sampled line lists.

vs1the points along one edge
vs2the points along the other, same x order (their y is used)
fillthe FillStyle of the band
stylethe LineStyle of its outline
labellegend text ("" for none)

A LinesIntervalR boxed as an AnyRenderer.

(lines-interval lo-pts hi-pts (default-fill-style) (default-line-style) "ci")
defn

parametric-interval

(parametric-interval [^fat f1 : (fn [float])

shade between two parametric curves.

f1one edge, a (fn [float] Point)
f2the other edge, likewise
t-minstart of the parameter range
t-maxend of the parameter range
samplessample count (at least 32 are drawn)
fillthe FillStyle of the band
stylethe LineStyle of its outline
labellegend text ("" for none)

A ParametricIntervalR boxed as an AnyRenderer.

(parametric-interval inner outer 0.0 1.0 72 (default-fill-style) (default-line-style) "")
defn

polar-interval

(polar-interval [^fat f1 : (fn [float])

shade between two polar curves.

f1the inner radius, a (fn [float] float) of theta
f2the outer radius, likewise
theta-minstart of the angle range, in radians
theta-maxend of the angle range, in radians
samplessample count (at least 32 are drawn)
fillthe FillStyle of the band
stylethe LineStyle of its outline
labellegend text ("" for none)

A PolarIntervalR boxed as an AnyRenderer.

(polar-interval r-in r-out 0.0 3.14 72 (default-fill-style) (default-line-style) "")
Internal definitions
__draw-lines-interval-- fill (then outline) the band between two lowered point lists.
__draw-function-interval-- the function-interval band, through __draw-curve-interval.
__draw-parametric-interval-- the parametric-interval band, through __draw-curve-interval.
__draw-polar-interval-- the polar-interval band, through __draw-curve-interval.
Renderer[FunctionIntervalR]
Renderer[LinesIntervalR]
Renderer[ParametricIntervalR]
Renderer[PolarIntervalR]