First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 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.

click to hide/show revision 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.

click to hide/show revision 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.