Permalink
Browse files

minor update

  • Loading branch information...
1 parent 65624eb commit 60778eb0e193ffddb9813e01641ed40889ff7806 @liebke liebke committed Dec 19, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/clojure/incanter/charts.clj
@@ -81,6 +81,7 @@
# plot a density histogram
(def hist (histogram (sample-normal 1000) :density true))
(view hist)
+
# add a normal density line to the plot
(def x (range -4 4 0.01))
(add-lines hist x (pdf-normal x))

0 comments on commit 60778eb

Please sign in to comment.