|
Re: Irregular Satellite data plotting [message #64204 is a reply to message #64203] |
Fri, 05 December 2008 13:47  |
Chris[6]
Messages: 84 Registered: July 2008
|
Member |
|
|
On Dec 5, 8:24 am, Ed Hyer <ejh...@gmail.com> wrote:
> Katie,
>
> OPLOT bizarrely doesn't allow this, but fortunately someone stepped up
> and wrote the OPLOTS routine that will get the job done:http://groups.google.com/group/comp.lang.idl-pvwave/bro wse_thread/thr...
>
> If you don't like the selection of symbols available natively, there
> is also SYMCAT, which will give you just about anything:http://www.dfanning.com/programs/symcat.pro
>
> So you'd end up with
>
> OPLOTS,lons,lats,psym=SYMCAT(15),color=BYTSCL(temperature)
>
> A little dickering with the SYMSIZE and THICK keywords, and you can
> probably get what you want.
>
> --Edward H.
I have been working on something similar, but for astronomical
purposes. You may find this code useful:
http://www.ifa.hawaii.edu/users/beaumont/code/raw/smoothmap. pro
It creates a smoothed map from a set of measurements on a spherical
surface. The code is still being refined, but has been behaving for me
lately.
Chris
|
|
|
Re: Irregular Satellite data plotting [message #64205 is a reply to message #64204] |
Fri, 05 December 2008 10:24  |
MarioIncandenza
Messages: 231 Registered: February 2005
|
Senior Member |
|
|
Katie,
OPLOT bizarrely doesn't allow this, but fortunately someone stepped up
and wrote the OPLOTS routine that will get the job done:
http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/e11a9c983151e0f3/2bbaddec12f5b8d5?hl=en&lnk =gst&q=oplots#2bbaddec12f5b8d5
If you don't like the selection of symbols available natively, there
is also SYMCAT, which will give you just about anything:
http://www.dfanning.com/programs/symcat.pro
So you'd end up with
OPLOTS,lons,lats,psym=SYMCAT(15),color=BYTSCL(temperature)
A little dickering with the SYMSIZE and THICK keywords, and you can
probably get what you want.
--Edward H.
|
|
|
|
Re: Irregular Satellite data plotting [message #64216 is a reply to message #64215] |
Thu, 04 December 2008 18:09  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Dec 4, 8:22 pm, greer.katel...@gmail.com wrote:
> I have some satellite temperature measurements that are taken at
> regular latitude intervals but irregular longitude intervals.
> Eventually, I will interpolate everything, but first I would like to
> make a plot with a square indicating the location of the measurement
> (longitude and latitude) that is colored to indicate the relative
> temperature. Does anyone know how to do this? It seems simple to me
> in concept, but have been unable to come up with a solution. (I keep
> getting advice about how to do this in matlab with pcolor, but I need
> to stay in idl with this one) Thanks in advance for any advice you
> might have!
I'm sure that something like this,
for i = 0, n_points-1 do begin
oplot, [lon[i]], [lat[i]], psym=6, color=(temp[i]-MINTEMP)/
(MAXTEMP-MINTEMP)*255
endfor
will be a good place to start. You will have to play around with how
the color is calculated.
Craig
P.S. David, I used [] array notation against my better judgement.
|
|
|