Viraj and Jeff -
Maybe one extension of Jeff's answer.
The process works as long as x, y, and z are 2D arrays of the same size and
shape.
Hence, x and y don't have to form a rectangular grid.
I have used this feature regularly for conformal mapping.
And it makes a lot of sense.
The contour
That is very cool, I hadn't thought of it!
So what you're saying is that any transformation (a complex distortion) of a
regular rectangular grid is fine. The fact that the grid's 'pixels' are four
sided quadrilaterals satisfies this condition and the contour algorithm works...
Cheers,
Scott
I thought it was cool the first time I saw it.
Just try something simple
from pylab import *
x,y = meshgrid(linspace(-5,5,101),linspace(0,5,101))
h = y
z = x + complex(0,1)*y
znew = z**0.25 # Doing a simple conformal map
xnew = znew.real
ynew = znew.imag
contourf(xnew,ynew,h,linspace(0,5,10))
Mark Bakker wrote:
Viraj and Jeff -
Maybe one extension of Jeff's answer.
The process works as long as x, y, and z are 2D arrays of the same
size and shape.
Hence, x and y don't have to form a rectangular grid.
I have used this feature regularly for conformal mapping.
And it makes a lot
Viraj Vajratkar wrote:
On 7/3/07, *Jeff Whitaker* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Michael Newman wrote:
My understanding is the contour method only handles plots of
functions, e.g. f(x,y) = z, and not discrete points. I tried looking
into this weeks
My understanding is the contour method only handles plots of
functions, e.g. f(x,y) = z, and not discrete points. I tried looking
into this weeks ago, and couldn't find a way to handle discrete points.
I'd love to be able to do Kriging or Inverse Distance Weighting contour
lines on XY points I
Michael Newman wrote:
My understanding is the contour method only handles plots of
functions, e.g. f(x,y) = z, and not discrete points. I tried looking
into this weeks ago, and couldn't find a way to handle discrete points.
I'd love to be able to do Kriging or Inverse Distance Weighting
hello ppl,
hey i hav 3 .dat files... one has 1 column of x coords, another has 1 column
of the same number of y coords and the last .dat file has the same number of
corresponding values of a property[temperature] at those points in 1
column i was wondering how i cud make a contour of this