Ask Your Question
0

Axes 'disappear'

asked 2013-11-16 14:07:48 -0500

Jim gravatar image

Is there any way to 'disappear' the axes, 2d or 3d, leaving the graphic freestanding.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-16 15:55:47 -0500

dazedANDconfused gravatar image

Yes. See here for more information. axes=False for 2d and frame=False for 3d. So for a 2d plot try this, for example:

plot(sin(x), (x, 0, 2*pi),axes=False)

For 3d we use frame. Try this

x, y = var('x,y')
plot3d(x^2 + y^2, (x,-2,2), (y,-2,2),frame=False)
edit flag offensive delete link more

Comments

If I remove the axes but still need to establish a vertical scale for placing objects, I like to place white points at (0,1) and (0,-1). The points are invisible but make placing other objects easier.

jaia gravatar imagejaia ( 2013-11-17 09:06:46 -0500 )edit

Thank you both, does the trick

Jim gravatar imageJim ( 2013-11-17 09:14:19 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2013-11-16 14:07:48 -0500

Seen: 82 times

Last updated: Nov 16 '13