Help with co-ordinate conversions... [message #3081] |
Fri, 04 November 1994 07:48 |
ratnakar amaravadi
Messages: 14 Registered: April 1994
|
Junior Member |
|
|
I have 3 1-D arrays of equal length, Z,X,Y. Z(i) is the value of Z at
X(i),Y(i). X,Y are very irregularly gridded. How do I convert this
data, for use with the SURFACE command. To tell you something about
X,Y:
xmin=min(X)
xmax=max(X)
ymin=min(Y)
ymax=max(Y)
n_elements(X)=n_elements(Y)=N
X(0:n1) is between xmin and xmax
X(n1+1,n2) is also between xmin and xmax.
X(n2+1,n3) is also .....
..
..
X(n+1,N-1) is also between xmin and xmax
It is eaxctly the same way for Y.
can any one tell me how I can transform this data for use with
SURFACE.
I could be making the problem more complicated than it really
is. Sorry, if that is the case.
ratnakar amaaravadi
|
|
|