plot/decor
src/plot/decor.tur
defn
x-axis
(x-axis :int)
horizontal axis at y=0.
defn
y-axis
(y-axis :int)
vertical axis at x=0.
defn
axes
(axes :int)
both x-axis and y-axis.
defn
x-tick-lines
(x-tick-lines :int)
vertical grid lines at x ticks.
defn
y-tick-lines
(y-tick-lines :int)
horizontal grid lines at y ticks.
defn
tick-grid
(tick-grid :int)
both x and y tick lines.
defn
hrule-styled
(hrule-styled [y :float style :int] :int)
horizontal reference line with explicit style.
defn
hrule
(hrule [y :float] :int)
horizontal reference line.
defn
vrule-styled
(vrule-styled [x :float style :int] :int)
vertical reference line with explicit style.
defn
vrule
(vrule [x :float] :int)
vertical reference line.
defn
point-label-styled
(point-label-styled [x :float y :float text :cstr anchor :int style :int] :int)
styled label text anchored to a data point.
defn
point-label
(point-label [x :float y :float text :cstr anchor :int] :int)
label text anchored to a data point.