Liking cljdoc? Tell your friends :D

thi.ng.geom.viz.core


axis-common*clj/s

(axis-common* {:keys [visible major-size minor-size label attribs label-style
                      label-dist]
               :or {visible true major-size 10 minor-size 5}
               :as spec})
source

circle-cellclj/s

(circle-cell a b c d col)
source

compute-row-stackingclj/s

(compute-row-stacking item-range coll)
source

contour->svgclj/s

(contour->svg scale-x scale-y project)
source

contour-matrixclj/s

(contour-matrix w h values)
source

default-svg-labelclj/s

(default-svg-label f)
source

domain-bounds-xclj/s

source

domain-bounds-yclj/s

source

domain-bounds-zclj/s

source

format-percentclj/s

(format-percent x)
source

labeled-rect-horizontalclj/s

(labeled-rect-horizontal {:keys [h r label fill min-width base-line]})
source

lens-axisclj/s

(lens-axis
  {:keys [domain range focus strength major minor] :or {strength 0.5} :as spec})
source

lens-scaleclj/s

(lens-scale focus strength [d1 d2] [r1 r2])
source

lin-tick-marksclj/s

(lin-tick-marks [d1 d2] delta)
source

linear-axisclj/s

(linear-axis {:keys [domain range major minor] :as spec})
source

linear-scaleclj/s

(linear-scale domain range)
source

logclj/s

(log base)
source

log-axisclj/s

(log-axis {:keys [base domain range] :or {base 10} :as spec})
source

log-scaleclj/s

(log-scale base [d1 d2 :as domain] [r1 r2 :as range])
source

log-tick-marks-majorclj/s

(log-tick-marks-major base [d1 d2])
source

log-tick-marks-minorclj/s

(log-tick-marks-minor base [d1 d2])
source

log-ticks-domainclj/s

(log-ticks-domain base d1 d2)
source

matrix-2dclj/s

(matrix-2d w h values)
source

overlap?clj/s

(overlap? [a b] [c d])
source

points->path-segmentsclj/s

(points->path-segments [p & more])
source

polar-projectionclj/s

(polar-projection origin)
source

process-interval-rowclj/s

(process-interval-row item-range mapper [d1 d2])
source

process-pointsclj/s

(process-points {:keys [x-axis y-axis project]} {:keys [values item-pos shape]})
source

select-ticksclj/s

(select-ticks axis minor?)
source

svg-area-plotclj/s

(svg-area-plot {:keys [y-axis project] :as v-spec} {:keys [res] :as d-spec})
source

svg-axis*clj/s

(svg-axis* {:keys [major minor attribs label-style]}
           axis
           tick1-fn
           tick2-fn
           label-fn)
source

svg-axis-grid2d-cartesianclj/s

(svg-axis-grid2d-cartesian x-axis y-axis {:keys [attribs minor-x minor-y]})
source

svg-axis-grid2d-polarclj/s

(svg-axis-grid2d-polar {:keys [x-axis y-axis origin circle project]
                        {:keys [attribs minor-x minor-y]} :grid})
source

svg-bar-plotclj/s

(svg-bar-plot {:keys [x-axis y-axis project] :or {project vec2}}
              {:keys [values attribs shape item-pos interleave offset bar-width]
               :or {shape (fn [a b _] (svg/line a b))
                    item-pos identity
                    interleave 1
                    bar-width 0
                    offset 0}})
source

svg-contour-plotclj/s

(svg-contour-plot {:keys [x-axis y-axis project]}
                  {:keys [matrix attribs levels palette palette-scale
                          value-domain contour-attribs]
                   :or {value-domain [0.0 1.0]
                        palette [[1 1 1]]
                        palette-scale linear-scale
                        contour-attribs (constantly nil)}})
source

svg-heatmapclj/s≠

clj
(svg-heatmap
  {:keys [x-axis y-axis project]}
  {:keys [matrix value-domain clamp palette palette-scale attribs shape]
   :or {value-domain [0.0 1.0]
        palette-scale linear-scale
        shape (fn* [p1__22524# p2__22525# p3__22526# p4__22527# p5__22528#]
                   (svg/polygon [p1__22524# p2__22525# p3__22526# p4__22527#]
                                {:fill p5__22528#}))}
   :as d-spec})
cljs
(svg-heatmap
  {:keys [x-axis y-axis project]}
  {:keys [matrix value-domain clamp palette palette-scale attribs shape]
   :or {value-domain [0.0 1.0]
        palette-scale linear-scale
        shape (fn* [p1__26920# p2__26921# p3__26922# p4__26923# p5__26924#]
                   (svg/polygon [p1__26920# p2__26921# p3__26922# p4__26923#]
                                {:fill p5__26924#}))}
   :as d-spec})
source

svg-line-plotclj/s

(svg-line-plot v-spec d-spec)
source

svg-plot2d-cartesianclj/s

(svg-plot2d-cartesian {:keys [x-axis y-axis grid data] :as opts})
source

svg-plot2d-polarclj/s

(svg-plot2d-polar {:keys [x-axis y-axis grid data origin] :as spec})
source

svg-radar-plotclj/s

(svg-radar-plot v-spec {:keys [shape] :or {shape svg/polygon} :as d-spec})
source

svg-radar-plot-minmaxclj/s≠

clj
(svg-radar-plot-minmax
  v-spec
  {:keys [item-pos-min item-pos-max shape]
   :or {shape (fn* [p1__22481# p2__22482# p3__22483#]
                   (svg/path (concat p1__22481# [[:Z]] p2__22482# [[:Z]])
                             p3__22483#))}
   :as d-spec})
cljs
(svg-radar-plot-minmax
  v-spec
  {:keys [item-pos-min item-pos-max shape]
   :or {shape (fn* [p1__26893# p2__26894# p3__26895#]
                   (svg/path (concat p1__26893# [[:Z]] p2__26894# [[:Z]])
                             p3__26895#))}
   :as d-spec})
source

svg-scatter-plotclj/s

(svg-scatter-plot v-spec {:keys [attribs shape] :as d-spec})
source

svg-squareclj/s

(svg-square r)
source

svg-stacked-interval-plotclj/s

(svg-stacked-interval-plot {:keys [x-axis y-axis]}
                           {:keys [values attribs shape item-range offset]
                            :or {shape (fn [[a b]] (svg/line (vec2 a) (vec2 b)))
                                 item-range identity
                                 offset 0}})
source

svg-triangle-downclj/s

(svg-triangle-down w)
source

svg-triangle-upclj/s

(svg-triangle-up w)
source

svg-x-axis-cartesianclj/s

(svg-x-axis-cartesian {:keys [scale major-size minor-size label-dist pos label]
                       [r1 r2] :range
                       :as spec})
source

svg-x-axis-polarclj/s

(svg-x-axis-polar {:keys [x-axis project circle origin]})
source

svg-y-axis-cartesianclj/s

(svg-y-axis-cartesian {:keys [scale major-size minor-size label-dist label-y pos
                              label]
                       [r1 r2] :range
                       :or {label-y 0}
                       :as spec})
source

svg-y-axis-polarclj/s

(svg-y-axis-polar {:keys [y-axis project]})
source

total-domain-boundsclj/s

(total-domain-bounds f & colls)
source

uniform-domain-pointsclj/s

(uniform-domain-points [d1 d2] values)

Given a vector of domain bounds and a collection of data values (without domain position), produces a lazy-seq of 2-element vectors representing the values of the original coll uniformly spread over the full domain range, with each of the form: [domain-pos value].

Given a vector of domain bounds and a collection of data values
(without domain position), produces a lazy-seq of 2-element vectors
representing the values of the original coll uniformly spread over
the full domain range, with each of the form: [domain-pos value].
sourceraw docstring

value-domain-boundsclj/s

(value-domain-bounds mat)
source

value-formatterclj/s

(value-formatter prec)
source

value-mapperclj/s

(value-mapper scale-x scale-y)
source

value-transducerclj/s

(value-transducer {:keys [cull-domain cull-range scale-x scale-y project shape
                          item-pos]})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close