On Fri, Nov 7, 2008 at 3:14 AM, Jason Grout <[EMAIL PROTECTED]> wrote: >> plot( f(x=5), (y, -10,10)) >> >> plot( f(x=5,y=y), (y, -10,10)) >> >> plot( f(5,None), (y, -10,10)) >> >> plot( f(5,y), (y, -10,10)) >> >> g(y) = f(5,y) >> plot(g, (y, -10,10)) >> That last one seemed too verbose > > > I guess you could also do: > > plot( lambda y: f(5,y), (y, -10,10)) > > but then you give up things like fast_float.
You didn't mention plot(f(5,y).function(y), (y, -10,10)) which is the one that'd be compatible with non-callable expressions. --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---