[Matplotlib-users] box whisker plot in eps

2008-06-11 Thread nicky van foreest
Dear all, I like to include a box and whisker plot as an eps in a latex document. Does anybody know how to produce such a plot in black and white, or some suitable gray scale? boxplot() does not accept color as an argument. I also tried putting the function gray() before and after boxplo(), but th

Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-11 Thread Michael Hearne
John - Thanks for the quick fix. I'm having a separate issue now with an EPS file being generated (using savefig() again) that appears to be invalid (can't display it in OS X Preview, or convert to PDF with ps2pdf). Unfortunately, the code that creates this particular file is rather involved,

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-11 Thread Joshua Lippai
You don't have to do everything that I did, but I have libpng and whatnot installed in /usr/local for other purposes anyway, and I didn't have a particular need to build a universal binary version of matplotlib. Furthermore, using GCC 4.2, while forcing one to get rid of Wno-long-double (an Apple-o

Re: [Matplotlib-users] Quiver not respecting hold state

2008-06-11 Thread Eric Firing
Marshall, You are right--there is a line of boilerplate that I left out of quiver, contour, and contourf. At the very top of each of these methods in axes.py there should be the line if not self._hold: self.cla() You can either add the line to your axes.py, or just do the manual pylab cla(

Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 10:14 AM, John Hunter <[EMAIL PROTECTED]> wrote: > Interesting. When I plot it on my screen it looks correct with a *Agg > GUI backend. But when I save it (either from the GUI or using > savefig) it has the problem you describe. This suggests to me that > either some cac

[Matplotlib-users] Quiver not respecting hold

2008-06-11 Thread Marshall Tappen
Hello, I'm having problems making quiver respect the hold state of the plot For example, running this code: from pylab import * def quiver_test(): x,y=mgrid[-10:10,-10:10] u=2*x; v=2*y; hold(False) quiver(x,y,u,v,hold=False) quiver(x,y,u,u,hold=False) draw() quiver_test()

Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-11 Thread John Hunter
On Mon, Jun 9, 2008 at 3:35 PM, Michael Hearne <[EMAIL PROTECTED]> wrote: > savefig('textplot.eps') > savefig('textplot.png') > close(fig) Interesting. When I plot it on my screen it looks correct with a *Agg GUI backend. But when I save it (either from the GUI or using savefig) it has the prob

[Matplotlib-users] [Fwd: bounding box functionality with text() function]

2008-06-11 Thread Michael Hearne
I'm reposting this, as it may have gotten lost in other discussions. I think there is possibly a bug in the PNG renderer for TkAgg (which is what I think I'm using when I say "matplotlib.use('agg')"), as I get different visual results from savefig when saving to EPS and PNG. If this isn't a bu

[Matplotlib-users] Quiver not respecting hold state

2008-06-11 Thread Marshall Tappen
Hello, I'm having problems making quiver respect the hold state of the plot For example, running this code: from pylab import * def quiver_test(): x,y=mgrid[-10:10,-10:10] u=2*x; v=2*y; hold(False) quiver(x,y,u,v,hold=False) quiver(x,y,u,u,hold=False) draw() quiver_

Re: [Matplotlib-users] matplotlib/basemap question

2008-06-11 Thread Scott Sinclair
Here's a response to a similar question a few weeks back: http://www.nabble.com/Kriging-with-Matplotlib-to17281645.html I haven't tried using the RandomRealizations package yet, but it looks good and well documented. Regards, Scott >>> Lionel Roubeyrie <[EMAIL PROTECTED]> 06/11/08 8:47 AM >>>