Ask Your Question
0

Axes 'disappear'

asked 2013-11-16 21:07:48 +0100

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 22:55:47 +0100

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 16:06:46 +0100 )edit

Thank you both, does the trick

Jim gravatar imageJim ( 2013-11-17 16:14:19 +0100 )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 21:07:48 +0100

Seen: 1,112 times

Last updated: Nov 16 '13