Adds a JFreeChart title object to a chart as a subtitle.
Examples:
(use '(incanter core charts latex))
(doto (function-plot sin -10 10)
(add-subtitle "subtitle")
(add-subtitle (latex " \\frac{(a+b)^2} {(a-b)^2}"))
view)
(defmulti add-subtitle
"Adds a JFreeChart title object to a chart as a subtitle.
Examples:
(use '(incanter core charts latex))
(doto (function-plot sin -10 10)
(add-subtitle \"subtitle\")
(add-subtitle (latex \" \\\\frac{(a+b)^2} {(a-b)^2}\"))
view)
"
(fn [chart title] (type title)))
Comments top
No comments for add-subtitle. Log in to add a comment.