This library currently has only a single function, save-pdf, which saves charts as a PDF file.
This library currently has only a single function, save-pdf, which saves charts as a PDF file.
(save-pdf chart filename & {:keys [width height] :or {width 500 height 400}})
Save a chart object as a pdf document.
Arguments: chart filename
Options: :width (default 500) :height (defualt 400)
Examples:
(use '(incanter core charts pdf)) (save-pdf (function-plot sin -4 4) "./pdf-chart.pdf")
Save a chart object as a pdf document. Arguments: chart filename Options: :width (default 500) :height (defualt 400) Examples: (use '(incanter core charts pdf)) (save-pdf (function-plot sin -4 4) "./pdf-chart.pdf")
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close