Hi!

I've got a few functions like this:

f1(x,y)=sin(x)+cos(y)
f2(x,y)=sin(y)+cos(x)

and I need to plot counter graphics like:

contour_plot(lambda x,y:f1(x,y),(x,0,3),(y,0,14))+contour_plot(lambda
x,y:f2(x,y),(x,3,6),(y,0,14))

can i do this easily using piecewise function?

g=Piecewise([ [(0,3),f1], [(3,6),f2] ])

-- 
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
URL: http://www.sagemath.org

Reply via email to