API for pdf - Incanter 2.0 (in development)


Full namespace name: incanter.pdf

Overview

This library currently has only a single function, save-pdf, which saves
charts as a PDF file.

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
  
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.