Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> Maybe, but I am not sure it is so simple as that. At the Eric> very least, it illustrates the fact that all the possible Eric> combinations of rgb with separate alpha, rgba, faces, edges Eric> etc. is confusing, and tha

Re: [Matplotlib-users] 3D surface: Updating data?

2007-01-04 Thread Nicolas Bigaouette
Anyone? :( Message original Sujet: 3D surface: Updating data? Date: Thu, 21 Dec 2006 11:28:43 -0500 De: Nicolas Bigaouette <[EMAIL PROTECTED]> Pour: matplotlib-users@lists.sourceforge.net Hi, I've been using matplotlib for 2D graphing since two years. Data (3D array) is created

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Eric Firing
John Hunter wrote: >> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: > > Eric> Try scatter(x, y, alpha=0) > > Hmm, this surprises me -- the edgecolor should respect alpha too, no? > I'm inclined to consider this a bug -- agree? Maybe, but I am not sure it is so simple as that. At the

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Eric Firing
John Hunter wrote: >> "John" == John Hunter <[EMAIL PROTECTED]> writes: > > John> The problem with alpha solution is it won't work in > John> postscript. > > Oh, I see we've already handled this; the > backend_bases.Renderer.draw_poly_collection catches alpha=0. and sets > rgbFace t

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread John Hunter
> "John" == John Hunter <[EMAIL PROTECTED]> writes: John> The problem with alpha solution is it won't work in John> postscript. Oh, I see we've already handled this; the backend_bases.Renderer.draw_poly_collection catches alpha=0. and sets rgbFace to None in this case, so the posted

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> Try scatter(x, y, alpha=0) Hmm, this surprises me -- the edgecolor should respect alpha too, no? I'm inclined to consider this a bug -- agree? The following should work in any backend that supports alpha scatter(rand(100), rand

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Eric Firing
Try scatter(x, y, alpha=0) This works for me with GTKAgg and svn, and I expect it will work with 87.7 also. There was some discussion about how to support something like "c=None", but I don't recall the outcome, and I don't know whether scatter is now an anomaly--but I don't think so. I thin

Re: [Matplotlib-users] numpy and matplotlib usage

2007-01-04 Thread Christopher Barker
Sven Schreiber wrote: > belinda thom schrieb: >> Also, since numpy borrows from matlab, not really -- pylab is specifically designed to be similar to matlab, numpy is not -- and the matlib is left over from Numeric, and I don't think it was all that well maintained there, either. > Maybe you kn

[Matplotlib-users] problem with pylab.hist()

2007-01-04 Thread Andrew B. Young
I get a lovingly helpful traceback trying to use the histogram function that I'm hoping to get some useful help with. The data (and program) are at ftp://polar.sri.com/pub/ayoung: hist.dat and hist.py. Thanks! Andrew hist.py from matplotlib import pylab f = open( 'hist.dat', 'r' ) xs

Re: [Matplotlib-users] Problem with set_xlim

2007-01-04 Thread Tommy Grav
You have to use set_ylim((0,2)) to set the y limits. Cheers Tommy On Jan 4, 2007, at 11:09 AM, Berthold Höllmann wrote: > Considering the following script I would Expect a resulting y range of > (1, 2) but I get (1, 3). Is this a bug or a feature. I'm using python > 2.5, matplotlib 0.87.7. >

[Matplotlib-users] Problem with set_xlim

2007-01-04 Thread Berthold Höllmann
Considering the following script I would Expect a resulting y range of (1, 2) but I get (1, 3). Is this a bug or a feature. I'm using python 2.5, matplotlib 0.87.7. from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure fig = Figure() canva

Re: [Matplotlib-users] Trouble with openSUSE10.2

2007-01-04 Thread Jeff Whitaker
Nils Wagner wrote: > Hi, > > I have tried to install matplotlib on a x86_64 machine > using openSUSE10.2. > > python setup.py yields > > Package pygtk-2.0 was not found in the pkg-config search > path. > Perhaps you should add the directory containing > `pygtk-2.0.pc' > to the PKG_CONFIG_PATH env

[Matplotlib-users] Trouble with openSUSE10.2

2007-01-04 Thread Nils Wagner
Hi, I have tried to install matplotlib on a x86_64 machine using openSUSE10.2. python setup.py yields Package pygtk-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH environment variable echo $PKG_CONFIG_PATH

Re: [Matplotlib-users] numpy and matplotlib usage

2007-01-04 Thread Darren Dale
On Thursday 04 January 2007 06:13, Sven Schreiber wrote: > belinda thom schrieb: > > A tangential question; recently I was looking for a way to save/load > > numeric data (often so it could be used later for building plots). I > > found load/save better documented than numpy's to/fromfile, so used

[Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Yannick Copin
Hi, I'd like to plot 'open symbols' (i.e. not color filled) w/ scatter. Unfortunately, scatter doesn't support None color: scatter(randn(5),randn(5), s=(50,), c=None, edgecolor='r') or scatter(randn(5),randn(5), s=(50,), facecolor=None, edgecolor='r') fail w/ ValueError: to_rgb: Invalid rgb

Re: [Matplotlib-users] numpy and matplotlib usage

2007-01-04 Thread Sven Schreiber
belinda thom schrieb: > A tangential question; recently I was looking for a way to save/load > numeric data (often so it could be used later for building plots). I > found load/save better documented than numpy's to/fromfile, so used > that. The question, from the responsibility point of vie

Re: [Matplotlib-users] Using 'scaled' for aspect ratio

2007-01-04 Thread Mark Bakker
Eric - Yeah, I agree. The words 'equal' is confusing. But it was taken from matlab. 'scaled' was my invention/doing. I thought it was better than 'equal', as it makes the scales equal on both axes. Either way, I would like it if we can fix the data limits in a simple way, and I think incorporatin

Re: [Matplotlib-users] numpy and matplotlib usage

2007-01-04 Thread belinda thom
Fernando Perez wrote: > hopefully the responsibilities will be: > > - ipython -> interactive work > - numpy/scipy -> numerics > - matploblib -> plotting > On Jan 3, 2007, at 10:01 AM, Christopher Barker wrote: I sure hope so too. > Following these ideas, in my personal use I normally do: > > i