I am using maxima inside SBCL and I want to do the following-simple demo for real time plotting without pause/delay-:
(loop for j from 1 below 10 do
#$plot2d(sin(x),[x,0,?j*%pi])$)
error:range must be of the form [variable, min, max]; found: [x,0,%pi*j]
I have to use setf/defvar, but I want to use local variables.
Questions:
- How to pass common-lisp' local variable to maxima?
Thanks in advance.
for j: 1 thru 9 do plot2d(sin(x), [x, 0, j*%pi]);in maxima itself? - jkiiski