Hello,

When using usetex=True and

     savefig(file, facecolor='w', edgecolor='w')

The behavior of the generated EPS file is more like:
   facecolor=None
   edgecolor='w'

That is, the image's facecolor is tranparent...taking on the background
color of the latex document---while the edgecolor is definitely white.

This seems inconsistent to me, and I was wondering if there was a quick
solution.  I actually like that the facecolor is transparent (or
nonexistent)...and I would like the same to hold for the edgecolor.  As of
now, I have an ugly white border around my image.

Also, it seems like there needs to be an extra keyword or option.  Suppose
someone wanted a white facecolor in the (usetex=True) EPS file.  It doesn't
seem like this is currently possible.  It would be nice if I could specify:

savefig(file, facecolor=None, edgecolor=None)

Thoughts?




\documentclass{article}
\usepackage{pstricks}
\usepackage{graphicx}
\begin{document}
\psframe*[linecolor=blue](-10in,-10in)(10in,10in)
\includegraphics{test}



from matplotlib import rc, rcParams
rc('text', usetex=True)
rc('ps', usedistiller='xpdf')
from pylab import *
subplot(111,axisbg='red')
plot(range(10))
savefig('test.eps', facecolor='white', edgecolor='white')
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to