Plotting vectors [message #50507] |
Thu, 05 October 2006 02:36  |
maki
Messages: 2 Registered: February 2018
|
Junior Member |
|
|
Hi all,
I have a set of geographic locations at which I would like to plot
velocity vectors. I looked at previous messages on that topic but did
not find an easy way to do it. VELOVECT seems to plot a 2D-velocity
field but my data are not gridded (nor randomly distributed). I also
looked at the ARROW procedure but it looks not easy, as we need to
specify the cordinates of the tail and arrowhead of each vector (I have
the Xi,Yi coordinates of each arrow tail, and the corresponding Ui and
Vi components, in a different unit than the map).
Thanks for your help !
|
|
|
Re: Plotting vectors [message #50641 is a reply to message #50507] |
Thu, 05 October 2006 20:14  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
maki wrote:
> Hi all,
> I have a set of geographic locations at which I would like to plot
> velocity vectors. I looked at previous messages on that topic but did
> not find an easy way to do it. VELOVECT seems to plot a 2D-velocity
> field but my data are not gridded (nor randomly distributed). I also
> looked at the ARROW procedure but it looks not easy, as we need to
> specify the cordinates of the tail and arrowhead of each vector (I have
> the Xi,Yi coordinates of each arrow tail, and the corresponding Ui and
> Vi components, in a different unit than the map).
> Thanks for your help !
>
If you're up for trying the iTools, check out iVector:
http://idlastro.gsfc.nasa.gov/idl_html_help/IVECTOR.html
In particular, Example 1 which combines iMap and iVector:
http://idlastro.gsfc.nasa.gov/idl_html_help/IVECTOR.html#wp1 029045
Mike
--
www.michaelgalloy.com
|
|
|