[plt-dev] bug in plot?

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Fri Dec 4 10:21:52 EST 2009

It is based on PLplot, which is a C package. There has not been any real
maintenance to it that I know of recently. Matthew updated it to work with
newer version of PLT Scheme at some point. The science collection uses it
for it's plots. But, I ended up writing my own plot routines for my own
analysis. Unfortunately, they really aren't in a state to put on PLaneT yet.


On Fri, Dec 4, 2009 at 7:51 AM, Eli Barzilay <eli at barzilay.org> wrote:

> On Dec  4, Robby Findler wrote:
> > I think that this is a bug in plot. The plot that shows up seems to
> > have negative numbers, but this function is positive everywhere. Is it
> > possible this is an ffi bug?
> >
> > (plot (line (λ (x) (expt (expt pi x) x)))
> >       #:x-min -10
> >       #:x-max 10
> >       #:y-min -100000
> >       #:y-max 100000)
> Looks like some kind of a problem in the way it draws really big
> numbers.  I don't remember the details, but I think that it calls out
> to Scheme to return the numbers, but the drawing etc is all in C.
> (For no good reason -- the whole thing can be done much better in
> Scheme....)
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20091204/bcb004cf/attachment.html>

Posted on the dev mailing list.