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})

circle-cellclj/s

(circle-cell a b c d col)

compute-row-stackingclj/s

(compute-row-stacking item-range coll)

contour->svgclj/s

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

contour-matrixclj/s

(contour-matrix w h values)

default-svg-labelclj/s

(default-svg-label f)

domain-bounds-xclj/s


domain-bounds-yclj/s


domain-bounds-zclj/s


format-percentclj/s

(format-percent x)

labeled-rect-horizontalclj/s

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

lens-axisclj/s

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

lens-scaleclj/s

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

lin-tick-marksclj/s

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

linear-axisclj/s

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

linear-scaleclj/s

(linear-scale domain range)

logclj/s

(log base)

log-axisclj/s

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

log-scaleclj/s

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

log-tick-marks-majorclj/s

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

log-tick-marks-minorclj/s

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

log-ticks-domainclj/s

(log-ticks-domain base d1 d2)

matrix-2dclj/s

(matrix-2d w h values)

overlap?clj/s

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

points->path-segmentsclj/s

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

polar-projectionclj/s

(polar-projection origin)

process-interval-rowclj/s

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

process-pointsclj/s

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

select-ticksclj/s

(select-ticks axis minor?)

svg-area-plotclj/s

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

svg-axis*clj/s

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

svg-axis-grid2d-cartesianclj/s

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

svg-axis-grid2d-polarclj/s

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

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}})

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)}})

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__14804# p2__14805# p3__14806# p4__14807# p5__14808#]
                   (svg/polygon [p1__14804# p2__14805# p3__14806# p4__14807#]
                                {:fill p5__14808#}))}
   :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__20502# p2__20503# p3__20504# p4__20505# p5__20506#]
                   (svg/polygon [p1__20502# p2__20503# p3__20504# p4__20505#]
                                {:fill p5__20506#}))}
   :as d-spec})

svg-line-plotclj/s

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

svg-plot2d-cartesianclj/s

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

svg-plot2d-polarclj/s

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

svg-radar-plotclj/s

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

svg-radar-plot-minmaxclj/s≠

clj
(svg-radar-plot-minmax
  v-spec
  {:keys [item-pos-min item-pos-max shape]
   :or {shape (fn* [p1__14761# p2__14762# p3__14763#]
                   (svg/path (concat p1__14761# [[:Z]] p2__14762# [[:Z]])
                             p3__14763#))}
   :as d-spec})
cljs
(svg-radar-plot-minmax
  v-spec
  {:keys [item-pos-min item-pos-max shape]
   :or {shape (fn* [p1__20475# p2__20476# p3__20477#]
                   (svg/path (concat p1__20475# [[:Z]] p2__20476# [[:Z]])
                             p3__20477#))}
   :as d-spec})

svg-scatter-plotclj/s

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

svg-squareclj/s

(svg-square r)

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 a b)) item-range identity offset 0}})

svg-triangle-downclj/s

(svg-triangle-down w)

svg-triangle-upclj/s

(svg-triangle-up w)

svg-x-axis-cartesianclj/s

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

svg-x-axis-polarclj/s

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

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})

svg-y-axis-polarclj/s

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

total-domain-boundsclj/s

(total-domain-bounds f & colls)

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].
raw docstring

value-domain-boundsclj/s

(value-domain-bounds mat)

value-formatterclj/s

(value-formatter prec)

value-mapperclj/s

(value-mapper scale-x scale-y)

value-transducerclj/s

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

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

× close