[pstricks] arctan

Christoph Bersch usenet at bersch.net
Tue Aug 30 12:32:51 CEST 2011


On 30.08.2011 11:47, Doris Behrendt wrote:
>
> in the following minimal example, I want to compute the arctan of
> 0.75, which is approximately 37 degrees; but it doesn't work:
>
> \pstThreeDDot[SphericalCoor](20,180,0.75 atan)%does not work

atan takes two arguments:
\pstThreeDDot[SphericalCoor](20,180,0.75 1 atan)

With these two also the correct quadrant is selected (compare 1 1 atan 
versus -1 -1 atan).

For a reference of all Postscript operators see Chapter. 8 in 
<http://www.adobe.com/products/postscript/pdfs/PLRM.pdf>.

Christoph


More information about the PSTricks mailing list