Re: [Numpy-discussion] Convert data into rectangular grid

2009-10-05 Thread denis bzowy
jah gmail.com> writes: > Thanks all.  Robert, griddata is exactly what I was looking for.  David, I think that should work too.  And Denis, griddata is sufficiently fast that I am not complaining---contouring about 1e6 or 1e7 points typically. > Fyinfo, take a look at http://yt.enzotools.org "Y

Re: [Numpy-discussion] Convert data into rectangular grid

2009-09-30 Thread jah
On Wed, Sep 30, 2009 at 8:57 AM, denis bzowy wrote: > jah gmail.com> writes: > > > > > Hi,Suppose I have a set of x,y,c data ... matplotlib.pyplot.contour() ). > > > > JAH, is griddata() working and fast enough for you ? > How many points are you contouring ? > > > Thanks all. Robert, griddata i

Re: [Numpy-discussion] Convert data into rectangular grid

2009-09-30 Thread denis bzowy
jah gmail.com> writes: > > Hi,Suppose I have a set of x,y,c data ... matplotlib.pyplot.contour() ). > JAH, is griddata() working and fast enough for you ? How many points are you contouring ? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy

Re: [Numpy-discussion] Convert data into rectangular grid

2009-09-29 Thread David Huard
On Mon, Sep 28, 2009 at 8:45 PM, jah wrote: > On Mon, Sep 28, 2009 at 4:48 PM, wrote: > >> On Mon, Sep 28, 2009 at 7:19 PM, jah wrote: >> > Hi, >> > >> > Suppose I have a set of x,y,c data (something useful for >> > matplotlib.pyplot.plot() ). Generally, this data is not rectangular at >> > al

Re: [Numpy-discussion] Convert data into rectangular grid

2009-09-28 Thread Robert Kern
On Mon, Sep 28, 2009 at 19:45, jah wrote: > Here is the desired use case:  I have a set of x,y,c values that I could > pass into matplotlib's scatter() or hexbin().   I'd like to take this same > set of points and transform them so that I can pass them into matplotlib's > contour() function.  Per

Re: [Numpy-discussion] Convert data into rectangular grid

2009-09-28 Thread jah
On Mon, Sep 28, 2009 at 4:48 PM, wrote: > On Mon, Sep 28, 2009 at 7:19 PM, jah wrote: > > Hi, > > > > Suppose I have a set of x,y,c data (something useful for > > matplotlib.pyplot.plot() ). Generally, this data is not rectangular at > > all. Does there exist a numpy function (or set of functi

Re: [Numpy-discussion] Convert data into rectangular grid

2009-09-28 Thread josef . pktd
On Mon, Sep 28, 2009 at 7:19 PM, jah wrote: > Hi, > > Suppose I have a set of x,y,c data (something useful for > matplotlib.pyplot.plot() ).  Generally, this data is not rectangular at > all.  Does there exist a numpy function (or set of functions) which will > take this data and construct the sma

[Numpy-discussion] Convert data into rectangular grid

2009-09-28 Thread jah
Hi, Suppose I have a set of x,y,c data (something useful for matplotlib.pyplot.plot() ). Generally, this data is not rectangular at all. Does there exist a numpy function (or set of functions) which will take this data and construct the smallest two-dimensional arrays X,Y,C ( suitable for matplo