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
Nils
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
Nils
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
On Mon, Feb 14, 2011 at 8:40 AM, Nils Wagner <nwagner@...1052...> 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
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma