API for svg
-
Full namespace name:
incanter.svg
Overview
This library currently has only a single function, save-svg, which saves
charts as an SVG file.
Public Variables and Functions
save-svg
function
Usage: (save-svg chart filename & {:keys [width height], :or {width 500, height 400}})
Save a chart object as an SVG document.
Arguments:
chart
filename
Options:
:width (default 500)
:height (default 400)
Examples:
(use '(incanter core charts svg))
(save-svg (function-plot sin -4 4) "./svg-chart.svg")
Source