SourceForge logo
SourceForge logo
Menu

Re: [Matplotlib-users] Griddata failling; how to try natgrid version?

From: Jeff W. <js...@fa...> - 2011年12月21日 13:56:00
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

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /