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

Home » Public Forums » archive » Plotting Vectors with Coyote Graphics Programs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plotting Vectors with Coyote Graphics Programs [message #88132] Sat, 22 March 2014 13:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I've written a new vector plotting program, cgVelocityVectors, today in
the manner of the NASA Astronomy Library routine PartVelVec. I had a
couple of objectives in mind. First, I wanted an easier way to make a
vector length key so users could easily match the length of a vector to
its magnitude. Second, I wanted to add a couple of features to the
program to make the vectors more attractive. For example, I wanted to be
able to draw vectors with solid arrow heads.

A length key or legend can easily be contructed using two keywords,
ReferenceVector and Length. ReferenceVector is used to specify a
reference magnitude against which all vectors are scaled before they are
displayed. Length specifies the length of the reference vector, in
normalized coordinates. This allows you to adjust vector length on the
plot with respect to a reference vector. You always are certain what a
length means. Vectors can be overplotted on maps, contour plots, and in
other graphics windows.

You can learn more about the program here:

https://www.idlcoyote.com/graphics_tips/vectors.html

And you can read the documentation for the program here:

https://www.idlcoyote.com/idldoc/cg/cgvelocityvectors.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Map Projection Bug?
Next Topic: Function syntax for any object class

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

Current Time: Wed Oct 08 13:32:24 PDT 2025

Total time taken to generate the page: 0.00510 seconds