David Joyner wrote: > Since > > sage: x,y = var("x y") > sage: plot3d(x^2-y^2, (x,-1,1),(y,-1,1)) > > works fine, why not just use variables > > sage: f = x^2-y^2 > sage: f.variables() > (x, y) > > to find the missing variables in plot3d(x^2-y^2, (-1,1),(-1,1)) > and then replace the arguments (-1,1),(-1,1) by > (x,-1,1),(y,-1,1) in plot3d.parametric_plot3d?
Please use "f.arguments()" instead of "f.variables()". The difference is illustrated below: sage: var("x,y") (x, y) sage: f(x,y) = x sage: f.variables() (x,) sage: f.arguments() (x, y) In this case, using "variables" won't work since only one thing is passed back, but using arguments does work, since the function was defined as taking two inputs. Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---