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

Home » Public Forums » archive » Re: plotting vectors on maps
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
Re: plotting vectors on maps [message #31078] Tue, 18 June 2002 08:47 Go to next message
btupper is currently offline  btupper
Messages: 55
Registered: January 2002
Member
Hello,

The built-in ARROW procedure does just this with a looped call to
PLOTS. The code is written to allow you to control the arrow head
size and other characteristics.

Ben

On Mon, 17 Jun 2002 08:14:07 -0700, David Bowman
<dbowman@fullerton.edu> wrote:

> Hi All. I've been banging my head against the wall trying to get IDL to
> plot vectors onto a map. VEL, VELOVECT and their cousins work ok,
> however they all require gridded data. My data are a dozen or so more
> or less randomly located geographical points with X (East) and Y (North)
> velocity components. Does anybody have/know of a simple plot routine
> that accepts U,V,x,y as vectors, rather than 2-D arrays?
>
> Thanks in advance!
> david
>
> --
> David Bowmman
> Assistant Professor
> Department of Geological Sciences
> California State University, Fullerton
> Fullerton, CA 92834-6850
Re: plotting vectors on maps [message #31093 is a reply to message #31078] Mon, 17 June 2002 09:07 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Bowman (dbowman@fullerton.edu) writes:

> Hi All. I've been banging my head against the wall trying to get IDL to
> plot vectors onto a map. VEL, VELOVECT and their cousins work ok,
> however they all require gridded data. My data are a dozen or so more
> or less randomly located geographical points with X (East) and Y (North)
> velocity components. Does anybody have/know of a simple plot routine
> that accepts U,V,x,y as vectors, rather than 2-D arrays?

VELOVECT doesn't require gridded data. That is the whole
point of the optional X and Y vectors. These vectors
place the vectors randomly on the plot.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: plotting vectors on maps [message #92921 is a reply to message #31078] Wed, 23 March 2016 11:01 Go to previous message
jecca.baker is currently offline  jecca.baker
Messages: 12
Registered: October 2014
Junior Member
> The built-in ARROW procedure does just this with a looped call to
> PLOTS. The code is written to allow you to control the arrow head
> size and other characteristics.
>
> Ben

Could arrow be used to plot wind fields? I am struggling with velovect as the arrow size is scaling to wind magnitude and the heads become almost non-existent. I'd like just the length to scale and not the arrow head.

Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL-Python Bridge: problem with the ENVI function.
Next Topic: IDL Widget Toolkit

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

Current Time: Wed Oct 08 09:20:18 PDT 2025

Total time taken to generate the page: 0.00484 seconds