Yes, you are absolutely correct. I did not realize that I did not actually
evaluate the function over a grid, makes sense that interpolation fails. I
thought that since I created the two axis vectors the function evaluation
occurs over the entire domain, meshgrid is what I was missing.
thanks,
On 9 January 2013 09:32, Shahar Shani-Kadmiel wrote:
> Hi,
>
> I'm trying to contour some data that I have and the griddata line fails. I
> tried running it on some synthetically generated data and I get the same
> IndexError. Any Ideas?
>
> Here is the example with the synthetic data:
>
> x = y =
Hi,
I'm trying to contour some data that I have and the griddata line fails. I
tried running it on some synthetically generated data and I get the same
IndexError. Any Ideas?
Here is the example with the synthetic data:
x = y = arange(-10,10,0.01)
z = x**2+y**3
xi = yi = linspace(-10.1, 10.1