Subscribe Bookmark RSS Feed

atan2 function

diemilio

Community Member

Joined:

Aug 11, 2014

Is there a built-in atan2 function in jmp? If so, where can I find it?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

You can get atan2 functionality by using both arguments in the ATan() function in JSL.  If you're following the definition here (atan2 - Wikipedia, the free encyclopedia), the Wikipedia arguments y and x correspond to the x1 and x2 arguments, respectively, in the JSL function.

In general, you can find information on JSL functions by using the Scripting Index (found in the Help menu).  The Scripting Index has entries for JSL functions as well as messages that can be sent via scripting to platform objects and display objects.

Michael Crotty
Sr Statistical Writer
JMP Development
1 REPLY
Solution

You can get atan2 functionality by using both arguments in the ATan() function in JSL.  If you're following the definition here (atan2 - Wikipedia, the free encyclopedia), the Wikipedia arguments y and x correspond to the x1 and x2 arguments, respectively, in the JSL function.

In general, you can find information on JSL functions by using the Scripting Index (found in the Help menu).  The Scripting Index has entries for JSL functions as well as messages that can be sent via scripting to platform objects and display objects.

Michael Crotty
Sr Statistical Writer
JMP Development