Hi Everyone
I think I'm being dumb but I have a set of 2d data (2d array) z
(100x100) which I need to plot - I have a nominal set of x and y
positions say:
x = linspace(0,100)
y = linspace(0,100)
Now the actual positions of the points in z are given by the following:
u,v = meshgrid(x,y)
phi =
imshow requires the data to be regularly spaced. use pcolor instead.
Also, to be clear, pcolor() can take 1-D X and Y arguments, but only if it
is regular. If the coordinates are irregular, then you need to use 2D X and
Y arguments.
Ben Root
On Wed, Jul 7, 2010 at 5:15 PM, Ross Williamson