| 1 | initial version |
Since the surface is determined by the independent variables, you can limit their domains to limit the height of the surface:
var('x y z')
limit = sqrt(9/2)
plot3d(sqrt(x^2+ y^2),(x,-limit,limit),(y,-limit,limit))
Here's a live example.
| 2 | No.2 Revision |
Since the surface is determined by the independent variables, you can limit their domains to limit the height of the surface:
var('x y z')
limit = sqrt(9/2)
plot3d(sqrt(x^2+ y^2),(x,-limit,limit),(y,-limit,limit))
y^2), (x,-limit,limit), (y,-limit,limit))
Here's a live example.
And if you want to set limits for each variable independently, use implicit_plot:
var('x y z')
implicit_plot3d(sqrt(x^2+ y^2)-z, (x,-5,5), (y,-5,5), (z,0,3))
Another live example.
| 3 | No.3 Revision |
Since the surface is determined by the independent variables, you can limit their domains to limit the height of the surface:
var('x y z')
limit = sqrt(9/2)
plot3d(sqrt(x^2+ y^2), (x,-limit,limit), (y,-limit,limit))
Here's a live example.
And if you want to set limits for each variable independently, use :implicit_plotimplicit_plot3d
var('x y z')
implicit_plot3d(sqrt(x^2+ y^2)-z, (x,-5,5), (y,-5,5), (z,0,3))
Another live example.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.