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

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 view,

[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 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] 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()

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 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] 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 know

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(100),

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 solution

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 very least, it

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 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 that because of