[pstricks] arctan

Jacques L'helgoualc'h lhh+no_spam at free.fr
Sun Dec 2 22:54:39 CET 2007


Doris Wagner a écrit, dimanche 2 décembre 2007, à 19:49 :
> hi list,

hi,

> 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?

http://www.nottingham.ac.uk/~ppzsjm/manuals/ps/math-ref.html

 y x atan

returns the argument (in degrees, [0-360[) of (x,y) ; you can use
something like

 t neg -1 atan 180 sub

 --- or use pst-math « t ATAN » (result in radians).
-- 
Jacques L'helgoualc'h



More information about the PSTricks mailing list