First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 12 years ago

achrzesz gravatar image

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]]) 
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black')
p.axes_color('white')  
p.show()
click to hide/show revision 2
No.2 Revision

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]]) 
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black')
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white')  
p.axes_width(0.1) 
p.show()
click to hide/show revision 3
No.3 Revision

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]]) p=plot(sin,ticks=[0.2,[]],thickness=3) 
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white') 
p.axes_width(0.1) p.axes_width(0.01) 
p.show()
click to hide/show revision 4
No.4 Revision

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]],thickness=3) 

p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20) p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black') p.axes_color('white') p.axes_width(0.01) p.show()

p.show()

click to hide/show revision 5
No.5 Revision

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20) 
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white') 
p.axes_width(0.01) 
p.show()

p.show()
click to hide/show revision 6
No.6 Revision

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20) 
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black',zorder=10)
p.axes_color('white') 
p.axes_width(0.01)  
p.show()