Ask Your Question
0

Axes 'disappear'

asked 11 years ago

Jim gravatar image

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

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)
Preview: (hide)
link

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 ( 11 years ago )

Thank you both, does the trick

Jim gravatar imageJim ( 11 years ago )

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: 11 years ago

Seen: 1,207 times

Last updated: Nov 16 '13