Functions

theta

Supported By

Syntax

[the] theta of ( expression , expression )

theta ( expression , expression )

Expression yields an integer or a number.

Example

put theta(bill, steve) into andy

Description

The theta function returns the angle, in radians, of the specified coordinates from the positive x-axis. The first argument is the x coordinate, and the second argument is the y coordinate.

Note

This function is similar to the atan2 function, but the arguments are in opposite order. It is also similar to the arg function, but it takes two arguments rather than one.

See Also

atan2, arg, xcoord, ycoord, radius