On Oct. 15, 2010, Wilhelm Haager wrote:
--------------------------------------------------
In the new version of Maxima (5.22.1) ist is obviously not possible to
generate complex graphics with draw2d any more.
The command
draw2d(explicit(..), ...<100 objects or options>)
produces the following error message:
Maxima encountered a Lisp error:
Error in APPLY [or a callee]: Lisps arglist maximum surpassed
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
Previous versions of maxima (<=5.20.1) did not have any problems!
In my control engineering package "COMA" graphics are produced
by applying (wx)draw2d onto a list containing graphic objects and options.
Hence it is not possbible any more to plot 20 or more
transfer-functions (step responses, bode plots etc.) into one
single diagram.
--------------------------------------------------
Hi Wilhelm,
I just experienced the same Lisp error trying to recreate an
eps figure for Ch. 6 Maxima by Example, Differential Calculus
using qdraw. The code for qdraw constructs a long list of items
which will be understood by draw2d, and then uses (qdraw.mac)
apply( 'draw2d, drlist )
as the last step. My code works ok with 5.21.1
but not with 5.22.2.
I am using (and have always used) the Windows version :
Maxima 5.22.1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL).
Why would the Lisp code restrict the number of arguments
to the function <apply> at this stage of development of Maxima?
Best Wishes,
Ted Woollett
http://www.csulb.edu/~woollett