Trigonometric Functions
All trigonometric functions in Arbortext IsoDraw are degree based.
The following trigonometric functions are defined:
• sin()
• cos()
• tan()
• arcsin()
• arccos()
• arctan()
MACRO waveplot
DEFINE i AS integer
CREATE LINE 0 100 0 100
FOR i=1 TO 720
APPEND LINE SEGMENT i*0.82 sin(i)*100+100
END FOR
CREATE LINE 0 200 0 200
FOR i=1 TO 720
APPEND LINE SEGMENT i*0.82 cos(i)*100+100
END FOR
END MACRO