Jeff Whitaker <jswhit-97jfqw80gc6171pxa8y...@public.gmane.org> writes:
> On 7/28/10 8:32 PM, Nikolaus Rath wrote:
>> Hello,
>>
>> What is the best way to generate a contour plot from a set of
>> non-uniformly sampled data (i.e., the datapoints do not lie on the
>> points of a rectangular grid but are randomly distributed)?
>>
>>
>> Thanks,
>>
>>     -Nikolaus
>>
>>    
> Nikolaus: You can either use mlab.griddata to interpolate the data to a 
> regular grid, or use pyplot.tricontour to perform a delaunay 
> triangulation and contour the resulting triangle values.

Fantastic, thanks!


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to