(require (planet "logarithmic.ss" ("williams" "science.plt") "random-distributions")) (require (planet "histogram-with-graphics.ss" ("williams" "science.plt"))) (let ((h (make-histogram-with-ranges-uniform 10 1 10))) (do ((i 0 (+ i 1))) ((> i 20) (void)) (histogram-accumulate! h i (logarithmic-pdf i .5))) (histogram-plot h "Logarithmic Distribution"))