| Problem with Trigrid [message #15312] |
Fri, 30 April 1999 00:00 |
di
Messages: 1 Registered: April 1999
|
Junior Member |
|
|
My question is quite basic. I am sure someone has figured it out long ago.
Please give me a clue on this. Thanks!
I have three vectors of numbers, x,y, and z. Although they are regularly
spaced data points, z=z_i(x_i,y_i) and the distance between x_i and x_i-1 is
constant, z cannot be used directly by CONTOUR or SURFACE.
The following works:
Contour, z,x,y,/irregular
or
Triangulate, x,y, tr
Contour, z,x,y,tr
.
But the following
Triangulate x,y, tr
Contour,trigird(x,y,z,tr)
will lose the original coordinate. Say, the x should be [-30,30], but now it
is [0,50] (how many grid points are there). Other parameter setting like GS,
Limits, NX, will only affect grid points, but not being able to get back
original units.
Thank you for your help!
Di
--
---------------------
Li Di
Astronomy Department
Cornell University
---------------------
|
|
|
|