|
From: Steven B. <bo...@ph...> - 2013-03-27 21:16:08
|
Hey List,
If you create a horizontal line, and then adjust the size of the figure,
or axis limits the horizontal line does not move with everything else...
To reproduce in ipython -pylab:
axhline(5)
yscale('log')
ylim(0.5,30)
The line stays where it started and is not moved when the plot is redrawn.
This was discussed here (back in 2008!!!!!):
http://matplotlib.1069221.n5.nabble.com/transforms-bug-axhline-with-log-y-scale-td35548.html
Then... when you save the figure, the position of the horizontal line
does *NOT* match the position you see when the figure is shown...
savefig('test.eps')
Am I missing something?
Steven
--
Steven Boada
Doctoral Student
Dept of Physics and Astronomy
Texas A&M University
bo...@ph...
|