Add atan2 function

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8181
    berry holl
    Participant

      I am using quite a lot of trigoniometric functions to plot various models in DataGraph, and I am missing the atan2 function in the functions list. Of course it is possible to mimic its behaviour with a chain of conditional expressions, but I guess it might be ‘relatively’ easy to implement this function directly in DataGraph?

      • This topic was modified 2 years, 10 months ago by berry holl.
      #8195
      dgteam
      Moderator

        We have a function called angle(x,y), which returns the angle for the vector (x,y).  This is equivalent to the atan2(y,x) function that is used in some software.  Sorry if this was not easy to find. We moved the angle function after the atan function in the reference list to help users find this in the future.

         

        #8234
        berry holl
        Participant

          Thank you very much for pointing this out, and excuses for not spotting it before. The moving up of angle(x,y) in the reference list and the added documentation relating to atan2 is very helpful too.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.