[racket] Plot library: mirror axes?
In the spirit of your "close enough" attempt, how about this?
#lang racket
(require plot)
(parameterize ([plot-y-far-ticks (ticks-scale (plot-y-ticks)
(linear-scale (/ 99 100)))])
(plot
(list (lines '((1 1) (2 2) (3 3) (4 4) (5 5))))))
On Mon, Sep 16, 2013 at 10:16 PM, J. Ian Johnson <ianj at ccs.neu.edu> wrote:
> I'm trying to show the same numbers for the near and far y-axis, just to make visual comparison easier for the left and right of the graph. The docs say that these get collapsed if they're the same, which is something I'd like to opt out of. Additionally, I tried to cheat by using (log-ticks #:number 10) on one side and (log-ticks #:number 9) on the other and hope they weren't too different, but nothing changed. I tried other numbers too, but to no avail.
>
> What can I do here? I tried to dive into the code base to do something about it, but got a bit lost.
> Thanks,
> -Ian
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users