Database Reference
In-Depth Information
Getting ready
We'll use the same dependencies in our project.clj ile as we did in Creating scatter plots
with Incanter .
We'll use this set of imports in our script or REPL:
(require '[incanter.core :as i]
'[incanter.charts :as c])
How to do it...
We just create and display a function-plot object:
(def f-plot
(c/function-plot
#(/ 1.0 (Math/log %)) 0.0 0.99
:title "Inverse log function."
:y-label "Inverse log"))
i/view f-plot)
The graph is, as we would expect, like this:
 
Search WWH ::




Custom Search