Axes 'disappear'
Is there any way to 'disappear' the axes, 2d or 3d, leaving the graphic freestanding.
Is there any way to 'disappear' the axes, 2d or 3d, leaving the graphic freestanding.
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)
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.
Thank you both, does the trick
Asked: 11 years ago
Seen: 1,207 times
Last updated: Nov 16 '13