Hi Mike:
Wow, thanks for the very timely response, that was warp speed. I've tried
your suggestion and I've stopped having the error message, but for some
reason, I don't get a plot. I'm a newbie with Python coming from the MATLAB
world. I'll keep working with it, but here is what I have:
t = arange(0r,200r,1r)
T_int = array([20.0r,20.0r,20.0r])
T = odeint(dTdt,T_int,t)
plot(t,T)
xlabel('t')
ylabel('Temperature')
When I evaluate, I get the following:
Text(0.5,0.5,'Temperature')
Would a better approach be to use the ode_solver from Sage?
On Mon, Feb 16, 2009 at 2:17 PM, Mike Hansen <[email protected]> wrote:
>
> Hello,
>
> This is due to the interaction between numpy/scipy and Sage's
> datatypes. See my response at
>
> http://groups.google.com/group/sage-devel/browse_thread/thread/7038a422a73b2c60/5e6dec20247df698?lnk=gst&q=scipy+signal#5e6dec20247df698
>
> --Mike
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---