Reputation: 11
I am trying to do an example in wxmaxima
wxplot_size:[1024,768]$
wxanimate_framerate:2$
with_slider_draw(
/* The parameter we want to assign to the slider and all values it can assume */
R,Resistors,
/* The thing we actually want to draw */
key=concat("R=",float(R)," Ohm"),
explicit(
ev(Voltage(R,t)),
t,0,20
),line_type=dots,color=black,
key=concat("R=0.0 Ohm"),
explicit(
ev(Voltage(0,t)),
t,0,20
),
yrange=[-1,1],
grid=true
)$
and I get the following error. Can anybody help me?
Maxima encountered a Lisp error:
Condition in CDR [or a callee]: INTERNAL-SIMPLE-TYPE-ERROR: |$Resistors| is not of type LIST:
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
Sorry, but I couldn't put it as code Thanks
Upvotes: 1
Views: 3363