On Jul 30, 10:45 pm, surfer <mailingslis...@googlemail.com> wrote:
> sorry, I would like to obtain the curve for fixed x in (0,1). (or for fixed
> y in (0,1)).

A general solution is to return a function of only one axis. For
example, for a constant y you can do the following:

def slice_y(y):
     def g(x):
         return f(x,y)
     return g

h = slice_y(1/4)
plot(h, (0,1))

I leave it as an exercise for the reader to write a function for
constant x. :-)

Adam
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to