[plt-scheme] Some more PLaneT questions
Oy - very sorry. The code has been patched (there is even a small test
suite now).
Please let us know if everything works as advertised.
> I downloaded 299.200 this morning and checked out my graphics code against
> it. Unfortunately, in fixing the pl-setup-page function, another bug was
> introduced that nullified the fix. In addition to changing xleng and yleng
> to _plint, xp and yp were also changed. They really should be _plflt. So
> the call still sets the page parameters wrong and the page is always 800 x
> 600 - the defaults within PLPlot.
>
> Here is the correct definition of pl-setup-page.
>
> (define* pl-setup-page
> (get-ffi-obj "c_plspage" libplplot
> (_fun (xp : _plflt = 0.0)
> (yp : _plflt = 0.0)
> (xleng : _plint)
> (yleng : _plint)
> (xoff : _plint = 0)
> (yoff : _plint = 0)
> -> _void)))
>
> I also attached an updated plplot.ss file from 299.200 that fixes the
> problem.
>
> Thanks,
> Doug
--
-Alex