I personally don't see how off the top of my head, but if you figure out a way to do it, please post it!
Maybe reading to source code of Piecewise and/or contour_plot might help? On Tue, Feb 2, 2010 at 1:00 PM, Eugene Goldberg <omegat...@gmail.com> wrote: > 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 sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org