Hello,

I’m trying to make a contour plot and I’m running into problems when specifying the coordinates for the plot. I do,

#Specify coordinates of the surface

delta0=1.0

delta1=0.1

x=np.arange(0.0, 6.0, delta0)

y=np.arange(-1.0,3.0, delta1)

#Contour the arrays.

plt.contour(x, y, O3, O3Level)

And I get an error that says,

"TypeError: Length of x must be number of columns in z,

and length of y must be number of rows."

I don’t understand how I’m supposed to get the coordinates for the plot that I want and make x and y the same shape as z. Any suggestions?

Thanks,

Alexa