You can get angle with the following formula. angle=ATAN(yy,xx)