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

Home » Public Forums » archive » Re: How color my wind vectors?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How color my wind vectors? [message #41158 is a reply to message #41157] Tue, 28 September 2004 11:07 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Ce" <cecilik@yahoo.com> wrote in message news:5af4d059.0409280354.3a0fd75a@posting.google.com...
> Hi all,
> I have a wind dataset: U, V, Lon and Lat. I draw my wind vectors with
> velovect procedure and I overplot my vectors on a map, but I don't
> know how color my vectors. I managed to color but with the same color,
> I didn't manage to scaled the colour with the velocity of wind. I'm
> seeking in this groups but don't find.
> Thanks for your help.
> Cheers
> Cecilia

looks like you will have to modify the code, and put the appropriate
color keyword into the plot command:
F'rinstance

plots,[x0,x1,x1-(ct*dx/xd-st*dy/yd)*xd, $
x1,x1-(ct*dx/xd+st*dy/yd)*xd], $
[y0,y1,y1-(ct*dy/yd+st*dx/xd)*yd, $
y1,y1-(ct*dy/yd-st*dx/xd)*yd], $
clip=clip,noclip=noclip,_EXTRA=extra,color=colorvalue[i]


where you have created the appropriate colorvalue vector.

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: relocation error: R_SPARC_WDISP30
Next Topic: Re: Hyperthreading and IDL?

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

Current Time: Sun Oct 12 10:43:44 PDT 2025

Total time taken to generate the page: 1.51947 seconds