Is there an atan2() function in KaleidaGraph?

The function below can be used to find atan2. The first line is a comment line, the second is the formula:

; atan2 function, must use radians!!
invtan2(a,b) =((a > 0)?invtan(b/a):((b<0)?invtan(b/a)-pi: invtan(b/a)+pi));

To add this function, choose Macros > Library and paste the definition on a new line in the library. You can then use invtan2() in a Formula Entry command, like c2=invtan2(c0,c1).

Scroll to Top
Synergy Software
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.