Ask Your Question

axes_range in 3D plots

asked 2012-05-07 11:58:31 +0200

Farhad gravatar image

Hello guys,

I'm new to Sage and have a simple question.

How can I set range of axes in 3D plots? I am using implicit_plot3d and couldn't find anything like set_axes_range (as is in 2D plots)


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-05-07 14:03:30 +0200

calc314 gravatar image

The ranges are set as in the following example:


You can find more details at:

edit flag offensive delete link more

answered 2012-05-08 05:06:16 +0200

ndomes gravatar image

I am afraid you explicitly have to draw the axes.

d = 4
P = implicit_plot3d(x^3+y^2-3*z==0,(x,-2,2),(y,-2,2),(z,-3,3))
P += arrow((-d,0,0),(d,0,0))
P += arrow((0,-d,0),(0,d,0))
P += arrow((0,0,-d),(0,0,d))
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-07 11:58:31 +0200

Seen: 377 times

Last updated: May 08 '12