comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Help with co-ordinate conversions...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Help with co-ordinate conversions... [message #3081] Fri, 04 November 1994 07:48
ratnakar amaravadi is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Reading in fortran files
Next Topic: Re: Reading in fortran files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:57:55 PDT 2025

Total time taken to generate the page: 0.00538 seconds