[pstricks] arctan
Manfred Braun
manfred.braun at uni-due.de
Sun Dec 2 21:22:26 CET 2007
Hi Doris,
Actually the arctan function, unlike arcos and arcsin, is inherently
available in PostScript. It is constructed like the atan2 function in
FORTRAN, i.e., it needs two arguments:
y x atan -> angle
The resulting angle arctan (y/x) is provided in the interval
0 <= angle < 360. Thus you may write, for instance,
-1.0 0.0 atan
and get the result 270.0 (degrees) without any overflow.
Best regards,
Manfred
-----Ursprüngliche Nachricht-----
Von: pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] Im Auftrag
von Doris Wagner
Gesendet: Sonntag, 2. Dezember 2007 19:50
An: Graphics PSTricks with
Betreff: [pstricks] arctan
hi list,
in my pstricks-book in the section about pst-plot, there are functions
acos and asin, but no atan.
How can I get arcus tangens?
_______________________________________________
pstricks mailing list
pstricks at tug.org
http://tug.org/mailman/listinfo/pstricks
More information about the PSTricks
mailing list