I'm not sure if this is intended, but I do have a hack to add them in
manually:

(parameterize ([plot-y-transform log-transform]
               [plot-y-ticks (log-ticks #:number 6)])
 (define xs (range 1 11))
 (define ys (map (lambda (x) (exp x)) xs))
 (define extra-ticks (for/list ([n (in-range 2 10)]) (tick n #f "")))
 (plot (list (points (map vector xs ys) #:y-min 1)
             (y-ticks extra-ticks #:far? #t)
             (y-ticks extra-ticks #:far? #f))))

On Fri, Aug 28, 2015 at 4:06 PM, Marduk Bolaños <[email protected]> wrote:

> Dear all,
>
> I did a scatter plot with a logarithmic Y-axis. It looks fine but there
> is something that really bugs me: there are no minor ticks between the
> X-axis and the first major tick.
>
> Here is the code:
>
>
> #lang racket
>
> (require plot)
>
> (parameterize ([plot-y-transform log-transform]
>                [plot-y-ticks (log-ticks #:number 6)])
>   (define xs (range 1 11))
>   (define ys (map (λ (x) (exp x)) xs))
>   (plot (points (map vector xs ys) #:y-min 1)))
>
>
> I tried different values for #:number to no avail. Is this the intended
> functionality?
>
> Best,
> Marduk
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to