Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Tom Johnson
On Dec 14, 2007 11:28 AM, Jeff Whitaker [EMAIL PROTECTED] wrote: Mike: Postscript doesn't support alpha transparency. It might work with PDF though. pstricks (tex) provides transparency... http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Alan G Isaac
On Mon, 17 Dec 2007, Tom Johnson apparently wrote: pstricks (tex) provides transparency... http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/examples#coor Impressive. How is it done? Cheers, Alan Isaac

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Michael Droettboom
Well, I hate to provide the disappointing answer, but it really doesn't work for Postscript. (The name pstricks has perhaps become misleading over time...) It inserts special codes in the Postscript that aren't part of the Ps standard, but that ps2pdf14 is able to convert into the correct Pdf

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Alan G Isaac
On Mon, 17 Dec 2007, Michael Droettboom apparently wrote: You can generate a PDF file with matplotlib, and then run it through acroread -toPostScript foo.pdf, and get a reasonably well-optimized Postscript file. I did not know that. Thanks! Alan

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-14 Thread Jeff Whitaker
Michael Hearne wrote: I am using Basemap, and trying to create two maps: One large-scale map, and a small-scale inset map of the world centered on the location of the large-scale map. My ultimate goal is to create a figure where the inset map is inserted into a corner of the large-scale

[Matplotlib-users] transparent background for encapsulated postscript output

2007-12-14 Thread Michael Hearne
I am using Basemap, and trying to create two maps: One large-scale map, and a small-scale inset map of the world centered on the location of the large-scale map. My ultimate goal is to create a figure where the inset map is inserted into a corner of the large-scale map. I can see two

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-14 Thread Jeff Whitaker
Michael Hearne wrote: Jeff - Darn it. So is there a way to embed an axis _inside_ another, possibly with a transparent background? --Mike Mike: Not quite sure why you need to have it transparent - you definitely can't have that with postscript, but it should be possible with the other

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-14 Thread Michael Hearne
Jeff - Yes, that's what I want, thanks. I think more explanation is in order - my large-scale map is the default basemap projection. The inset map of the globe is a orthogonal projection, which means it comes out as a little circle. I want to insert this smaller map into the larger one,

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-14 Thread Michael Hearne
Jeff - Yes! I'm working on implementing this now for my app... FYI, I got the following error: TypeError: drawmapboundary() got an unexpected keyword argument 'fill_color' and again for 'lake_color' on the fillcontinents() method. I'm using 0.9.7, which I think is the latest released