Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
liebke committed Dec 19, 2009
1 parent 65624eb commit 60778eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/clojure/incanter/charts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 60778eb

Please sign in to comment.