On 12/21/11 12:31 AM, Brad Malone wrote: > Hi, I'm still working on my interpolating from an irregularly space > grid and then running pcolormesh on the resulting output. With some of > the newer data I've been plotting I've noticed that my plots are > complete garbage. I realized that this was actually because of the > output from griddata rather than some problem with > pcolormesh/pcolor/etc (basically I get huge negative values like > -80000 from the interpolation when all of my data points lie within > [0,20]) . > > Googling I found out that the default griddata has some problems, and > that there is a better, more robust version available through natgrid. > I downloaded the natgrid-0.2.1 package from here > http://sourceforge.net/projects/matplotlib/files%2Fmatplotlib-toolkits%2Fnatgrid-0.2/. > > > My question now is, how do I install this and give it a shot? I'm > running on Ubuntu (or Xubuntu rather). The README doesn't seem to have > any directions. Brad: python setup.py install should do it. matplotlib will automatically use it if it's installed. -Jeff > > Also, let's say that this new griddata doesn't work for me, is there > something else I could try? The interpolation problems are strange, > because I can break my data into 3 segments (I read 3 files to obtain > the data so this is the natural way to do it) and I can plot and > interpolate correctly any segment individually. It's only when I do > all 3 segments together that the interpolation begins to fail. > > Any ideas? > > Thanks for the continued help! > > Brad > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users