Ask Your Question

Revision history [back]

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.

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.

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.