About two years ago the following code was working without error:
F(q,r):=3*r^2 + 5*q;
wxplot2d(F(1,r),[r,0,5],[legend,"F"],[xlabel,"r[bohr]"], [ylabel,"denso"]);
Now with Maxima version 5.47.0 and wxmaxima 23.12.0 installed with MacPorts on an iMac there is the following error:
Maxima encountered a Lisp error
The value "F" is not of type
LIST
......
However if I change the wxplot2d command with
wxplot2d(F(1,r),[r,0,5],[legend,"F",""],[xlabel,"r[bohr]"], [ylabel,"denso"]);
then it works again without errors.
Are there any reason? Before to change all the old programs, are there any possibility to recover this problem?
Thank you very much.
Alby Stalks
(%i4) wxbuild_info(); wxMaxima version: 23.12.0-DevelopmentSnapshot_MAC
using wxWidgets version: wxWidgets 3.2.4
Maxima version: 5.47.0
Maxima build date: 2025-01-06 08:36:10
Host type: x86_64-apple-darwin19.6.0
System type: Darwin 19.6.0 X86-64
Lisp implementation type: SBCL
Lisp implementation version: 2.5.0
wxMaxima help dir: /Applications/MacPorts/wxMaxima.app/Contents/Resources
Maxima's idea of the directory layout is:
maxima-prefix=/opt/local
maxima-topdir=/opt/local/share/maxima/5.47.0
maxima-imagesdir=/opt/local/lib/maxima/5.47.0/binary-sbcl
maxima-sharedir=/opt/local/share/maxima/5.47.0/share
maxima-srcdir=/opt/local/share/maxima/5.47.0/src
maxima-demodir=/opt/local/share/maxima/5.47.0/demo
maxima-testsdir=/opt/local/share/maxima/5.47.0/tests
maxima-docdir=/opt/local/share/maxima/5.47.0/doc
maxima-infodir=/opt/local/share/info
maxima-htmldir=/opt/local/share/maxima/5.47.0/doc/html
maxima-plotdir=/opt/local/libexec/maxima/5.47.0
maxima-layout-autotools=T
maxima-userdir=/Users/gambi/.maxima
maxima-tempdir=/Users/gambi/maxwork
maxima-lang-subdir=NIL
maxima-objdir=/Users/gambi/.maxima/binary/5_47_0/sbcl/2_5_0
NIL
(%o4)