Wow! That was so easy. Thanks. I guess I never really think of the array indices as 'positions',

Thanks for the help,
Dan
On Jun 17, 2005, at 6:32 AM, Dragos MOROIANU wrote:

After you import the data, you can pass it through a MARK->COMPUTE- >UNMARK
control, where you can change the coordinates from polar to cartesian:

a
b
[a.x*cos(a.y),a.x*sin(a.y)]

Don't forget to mark the positions before you make the transform.

Dragos

On Thu, Jun 16, 2005 at 03:19:38PM -0400, Dan Patnaude wrote:

Hi-

I have some 2d data where the data is stored in a 1024 square array,
but the positions are not regular. That is, the data was made in a
simulation in polar coordinates (r, theta). I can't figure out how to
tell DX that this is the case. How do I construct a grid with polar
coords and then get DX to display the data in the proper format (i.e.
the grid ought to look like a pie slice, rather than square).

Any ideas would be helpful.

Thanks,
Dan


--

Reply via email to