gray backgound problem when saving eps

I have a small problem when saving figures with
savefig.facecolor : gray #white # figure facecolor when saving
savefig.edgecolor : gray #white # figure edgecolor when saving
set in my rc file.

If I run

t=arange(0,1,0.1)
y=sin(2*pi*t)
plot(t,y)
xlabel('Time (sec)')
ylabel('amplitude')
savefig('gray.eps')

and then epstopdf gray.eps, I get the attached file with the gray
border not going quite low enough. This doesn't occur when saving
.png. It also seems to be o.k. if I just use xlabel('time') without
the parenthesis and uppercase T.

I am including the figures in a Latex beamer presenation with a dark
background and I need the gray border for visability.

I tried switching to gs-8.50, but the problem didn't do away. I am
using version 0.86.2 which is probably cvs from a month ago.

Ryan

gray.pdf (1.89 KB)

Hi Ryan,

ยทยทยท

On Monday 06 March 2006 5:50 pm, Ryan Krauss wrote:

I have a small problem when saving figures with
savefig.facecolor : gray #white # figure facecolor when saving
savefig.edgecolor : gray #white # figure edgecolor when saving
set in my rc file.

If I run

t=arange(0,1,0.1)
y=sin(2*pi*t)
plot(t,y)
xlabel('Time (sec)')
ylabel('amplitude')
savefig('gray.eps')

and then epstopdf gray.eps, I get the attached file with the gray
border not going quite low enough. This doesn't occur when saving
.png. It also seems to be o.k. if I just use xlabel('time') without
the parenthesis and uppercase T.

I am including the figures in a Latex beamer presenation with a dark
background and I need the gray border for visability.

I tried switching to gs-8.50, but the problem didn't do away. I am
using version 0.86.2 which is probably cvs from a month ago.

I cant reproduce your problem using the most recent checkout from svn. How
does your eps file look, does the problem only exist in the pdf?

Darren