# [racket] plot w/ log scale

On 11/8/12 5:48 PM, Vincent St-Amour wrote:
>* You can use axis transforms, but you may need to bound them.
*>*
*>* #lang racket
*>* (require plot)
*>* (parameterize ([plot-y-transform (axis-transform-bound log-transform 1 2000)])
*>* (plot (discrete-histogram '(#(a 10) #(b 100) #(c 1000)))))
*
Thanks!
Maybe someone can explain why this doesn't work?
#lang racket
(require plot)
(parameterize
([plot-y-transform (axis-transform-bound log-transform 1 2000)]
[plot-y-ticks (log-ticks)])
(plot (discrete-histogram '(#(a 10) #(b 100) #(c 1000)))))
log-ticks-layout: expects type <positive real> as 1st argument, given:
0; other arguments were: 1000
David