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
Re: Plotting Vectors with Coyote Graphics Programs [message #88148 is a reply to message #88132] Mon, 24 March 2014 12:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> 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.

As sometimes happens, I don't realize I have written a program All Wrong
until I actually try to use the program or write an article about it.
This time I was trying to use the program when I got that sinking
feeling in the pit of my stomach.

In any case, cgVelocityVectors has been completely revamped this morning
to answer the call in two completely different test cases. It seems to
be working the way I expect it to work now. But, naturally, I leave it
up to you to test thoroughly. :-)

While I was frantically fooling around with it, Matt Argall asked if I
could add an ORDERED keyword, so that if you are selecting a fraction of
the original vectors to plot, it would take an ordered selection of
vectors, rather than a random selection of vectors. I have complied with
his request in this new version.

You can find the updated version here. (Note that other programs have
also changed in the Coyote Library (e.g., a new Range keyword in
SetDefaultValue) that is used in cgVelocityVectors, so if you didn't
update your Coyote Library this morning, you should get the entire
library.)

http://www.idlcoyote.com/programs/cgvelocityvectors.pro

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 17:50:35 PDT 2025

Total time taken to generate the page: 0.00455 seconds