API for pdf
-
Full namespace name:
incanter.pdf
Overview
This library currently has only a single function, save-pdf, which saves
charts as a PDF file. To build this namespace make sure the you have the iText
library (http://itextpdf.com/) as a declared dependency in your pom.xml or
project.clj file:
[com.lowagie/itext "1.4"]
Public Variables and Functions
save-pdf
function
Usage: (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")
Source