Jason Grout wrote:
> 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))
>>
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
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.