--------------------------------------------------
From: "Edwin Woollett" <woollett at charter.net>
Sent: Friday, October 15, 2010 6:01 PM
To: <wilhelm.haager at htlstp.ac.at>
Cc: "maxima mailing list" <maxima at math.utexas.edu>
Subject: Re: [Maxima] Error or restriction in "apply"?
> 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!
>
This not a problem with apply arguments.
Try
apply(f,makelist(a[i],i,1,11265));
<output deleted >
it works fine for me.
(%i2) build_info();
Maxima version: 5.22.1
Maxima build date: 11:48 8/13/2010
Host type: i686-pc-mingw32
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.8
Maybe there is a problem with draw or something else.
Rich
> 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
>
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>