plot3d with clisp



>>>>> "Pedro" == Pedro Fortuny Ayuso <P.Fortuny@maths.qmul.ac.uk> writes:

    Pedro> I can build maxima with clisp, but:

    Pedro> bash-2.05$ clisp -M maxima-clisp.mem 

    Pedro> (...snip...)

    Pedro> (C1) plot3d(x+y,[x,-3,3],[y,-3,3]);

    Pedro> *** - FUNCALL: the function POLYGON-PTS is undefined
    Pedro> 1. Break [1]> :q

I've seen this with CMUCL as well.  If you look in plot.lisp, you'll
see the defstruct for polygon is wrapped inside an eval-when.  Move it
outside the eval-when and recompile.  Plotting should work now.  At
least it does on CMUCL.

Ray