[SciPy-user] ylabel disappears in the eps file
Travis E. Oliphant
oliphant at ee.byu.edu
Thu Aug 21 14:20:53 EDT 2003
Nils Wagner wrote:
> Dear experts,
>
> When I redirect the output pf xplt.plot to an eps file via xplt.eps
> the ylabel disappears in the eps file. A small example is illustrating
> this
> behaviour.
>
> Any idea ?
>
> Thanks in advance.
>
> Nils
>
>
> from scipy import *
> from scipy.xplt import *
> import gui_thread
> x = arange(0,pi,0.1)
> xplt.plot(x,sin(x),'dot',x,sin(x),'dash''r')
> xplt.xlabel('x')
> xplt.ylabel('y')
> xplt.eps('somefile')
>
I've noticed this too. Something changed when gist was upgraded
recently to support windows. The good news is that the ylabel is still
there --- it's just being masked by an incorrect bounding box.
The bad news is that right now I don't know how to fix it except by
manually changing the bounding box to be a little wider on the left.
Increase the lower left bounding box number by about 14 points and you
should be o.k.
-Travis O.
More information about the SciPy-User
mailing list