Chuck Pepe-Ranney <cpep...@mines.edu> writes:

>> The postscript format does not support transparency.  This is not a
>> matplotlib limitation but a postscript limitation.  The best solution
>> is to save your matplotlib figures as pdf, [...]
>
> Thanks, I guess my problem is that I am using the latex prosper
> package to make presentation slides but I cannot compile prosper
> documents with pdflatex [...]

You could try creating pdf output from matplotlib and converting it to
ps using ps2ps2, which will flatten the transparent objects into one big
bitmap:

http://ghostscript.com/doc/current/Ps2ps2.htm
http://www.ghostscript.com/pipermail/gs-devel/2009-April/008328.html

You may need to tweak the ps2write parameters, especially the output
resolution, to find the best tradeoff between file size and quality.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to