Linear nterpolation in 3D

Chris Rebert clp2 at rebertia.com
Wed Jul 28 14:06:20 EDT 2010


On Wed, Jul 28, 2010 at 9:57 AM, hardi <schrabacke at web.de> wrote:
> Hi,
>
> I'm trying to interpolate a 3D data (from the pic attached) with the
> interp2d command. What I have, are three vectors f, z, A (x, y, z
> respectively, A is the percentage data given on the isolines). I first put
> the f and z in a meshgrid and afterwards in the griddata to get a 3D-grid
> then started to interpolate. I plotted the the data after gridding, and I
> observed that almost all nodes are ignored.
> Do you have any idea how to prepare data to the interp2d command?

Since interp2d() is part of SciPy, you may have better luck asking on
the SciPy-specific mailinglist:
http://mail.scipy.org/mailman/listinfo/scipy-user

Cheers,
Chris



More information about the Python-list mailing list