Hi all, I'm trying this
var('x,y');
@interact
def taylor_play(f=x^2-y^2,order=slider(1,10,1,default=1),
x0=slider(-2,2,.25,default=0),y0=slider(-2,2,.25,default=0)):
p1=plot3d(f,(x,-1,1),(y,-1,1),color='blue')
p2=plot(taylor(f,(x,x0),(y,0),order),(x,-1,1),(y,-1,1), color='red')
show(p1 + p2)
I can't figure what's wrong.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.