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

Home » Public Forums » archive » Re: Vector representation of data.
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: Vector representation of data. [message #83809 is a reply to message #83672] Fri, 29 March 2013 16:38 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
Building off Chris's advice...

Assuming (y0,x0) is the "low point", then something like

ang = ATAN(y-y0, x-x0)
partvelvec, z*COS(ang), z*SIN(ang), x, y

should do the trick. This uses partvelvec from the astro library, http://idlastro.gsfc.nasa.gov/ftp/pro/plot/partvelvec.pro

You'll have to be careful with which way the vector points, if that's important.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: the (Moore-Penrose) pseudo-inverse of a matrix - anything like scipy.linalg's pinv2 in IDL?
Next Topic: Multiple linear regression (MLR): significance of the calculated terms (2 sigma interval)

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

Current Time: Fri Oct 10 10:09:34 PDT 2025

Total time taken to generate the page: 0.96004 seconds