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

Home » Public Forums » archive » Making a 2D Array from 3 columns
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
Making a 2D Array from 3 columns [message #35883] Thu, 24 July 2003 14:32
touser2001 is currently offline  touser2001
Messages: 8
Registered: July 2003
Junior Member
Hello everyone, i just came to this newsgroup and already have two
posts! Shows how much I love IDL!!

Basically: Many programs such as contour programs or just 3-d
graphing programs need a 2-array as an input.
I do not have a 2-d array as input.
What I do have is three 1d arrays. One of these has the x positions
of several objects. Another has y positions of the same objects. The
last array has the density or flux or something else of these objects.
Note, only in the places of the xy field where there is an object do I
have data. I have nothing for the other regions of the xy field.
This to say that I do not have a continuous function z=f(x,y), mine is
discrete....

However, I would like to have contour plots of the density or flux, so
I would need to make the famous 2-d array the programs use as input.

I would appreciate any ideas since I have no clue how to do this.

Thank you!

Bruno
Astronomy PhD Student
University of Florida
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL: Button Widget won't focus
Next Topic: Re: Making a 2D Array from 3 columns

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

Current Time: Wed Oct 08 13:38:41 PDT 2025

Total time taken to generate the page: 0.00467 seconds