Disabling y-axes in 2-D plot
Hi all,
is it possible to switch of the y-axes seperately in a 2-D plot? The intuitive way
plot(exp,axes=[True,False])
is the very same as
plot(exp,axes=True)
Greetings, Markus
In matplotlib you can use for example the link
http://www.shocksolution.com/2011/08/...
In Sage you can use a workaround:
p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20)
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black',zorder=10)
p.axes_color('white')
p.show()
The problem seems to be that I already have a very complicated plot, so I cannot apply matplotlib methods to that (at least I wouldnt know how).
The workaround you mentioned would be enough for me, but actually it doesnt work, because the white x-axes partly lies over the horizontal arrow and the y-axes lies over parts of the plot :/
I really thought that disabling axis seperately is a standard feature. Maybe I switch back to another CAS for this special plot :(
Thanks anyway for your answer.
Asked: 2013-02-13 10:55:04 +0100
Seen: 3,992 times
Last updated: Feb 14 '13
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
I have put up a patch in [#14112](http://trac.sagemath.org/14112).