On Mon, Feb 14, 2011 at 8:40 AM, Nils Wagner <nwag...@iam.uni-stuttgart.de> wrote: > Hi all, > > Is it possible to apply griddata to polar coordinates or > do I need cartesian coordinates ? > > http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata
You can keep the data in polar coordinates, you just need to pass in the locations of the points in cartesian coordinates: x = r * cos(theta) y = r * sin(theta) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users