[idvusers] Formula: vector field from direction

(second try, the first post became somehow attached to a previous post)

Hi,
I am trying to make a vector plan view from (wave) directional data. The direction field contains values in radians. So I created the following new formula:

makeVector( sin(d*180/3.14159), cos(d*180/3.14159) )

When I apply this formula all goes well, i.e. I get to select the direction field from my data source and the vector view control is shown. It correctly shows that the vector values range from -1 to 1. However, no vectors are shown in the view.. What am I doing wrong? (IDV 2.7u2)

Regards,


--
Reinoud Bokhorst



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: