2010/4/3 ms <deviceran...@gmail.com>:
> I am trying to use griddata to plot some (irregularly) spaced data as a
> contour plot, but sometimes ALL the grid it outputs is masked: so no plot.
>
> In the docs I read:
> "A masked array is returned if any grid points are outside convex hull
> defined by input data (no extrapolation is done)."
>
> but I have no real idea of what does it mean.
> Any suggestion to troubleshoot / understand what's going on?

When you do trinangulation, the lines between all pairs of points
define an inner region and an outer region, I guess, the inner region
is meant by "outside convex hull".

I furthermore guess, that all your interpolation points are outside
this hull, i.e., your interpolation spacing is of comparable order of
magnitude as your input data extent?

Friedrich

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to