Re: Help with creating array and plotting [message #39337] |
Fri, 14 May 2004 07:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Dennis Lamenti writes:
> Thanks for any suggestions.
> Below is a procedure for reading a structures in the arguments passed to
> procedure.
Oh, dear. :-(
> This is my first attempt at writing anything like this and it took me a long
> time to write and plot it the way i want.
Well, we all start some place. I guess more than a few of
us have started somewhere right along here. :-)
A couple of questions. I presume that you are observing
the same set of stars every night, yes? So the Stars
arrays always have the same star names in them. Is that right?
In other words, when you issue this command:
t=where(star1[I] EQ star2, count)
Is "count" anything other than 1?
Are the star names always in the same order in the Star
arrays? Or is your problem that they are out of order?
Does this describe your problem:
I observe the same X number of stars every night and
record their magnitudes. I would like to plot how
their magnitudes differ each night from magnitudes
I observed the first night.
If we could get some answers to these questions, we might
be able to come up with a little better code for you. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|