Adds an additional box to an existing box-plot, returns the modified chart object.
Options:
:series-label (default x expression)
Examples:
(use '(incanter core charts stats))
(doto (box-plot (sample-normal 1000) :legend true)
view
(add-box-plot (sample-normal 1000 :sd 2))
(add-box-plot (sample-gamma 1000)))
(with-data (get-dataset :iris)
(doto (box-plot :Sepal.Length :legend true)
(add-box-plot :Petal.Length)
(add-box-plot :Sepal.Width)
(add-box-plot :Petal.Width)
view))
References:
http://www.jfree.org/jfreechart/api/javadoc/ http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/JFreeChart.html
Comments top
No comments for add-box-plot. Log in to add a comment.