[pstricks] Angles in polar coordinates
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Sep 29 08:33:20 CEST 2016
Am 29.09.2016 um 00:24 schrieb halbard7 at aol.com:
> I have tried to specify the angle in polar coordinates as a coordinate
> pair, similar to how angles work in their standalone contexts, but
> without success. I'm not too sure if this has worked in the past.
>
> As an example of what I am thinking of, the polar coordinates (1;45)
> might, as an alternative, be expressed as (1;(1,1)). Not very useful in
> this case, but for other angles of the form arctan(q/p) this would be
> very handy. Doing the equivalent in postscript is not as simple as this
> (unless things like (! 2 sqrt; 1 1 atan) (!postscript polar
> coordinates!) were implemented–that would be very nice.)
\documentclass{article}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}[showgrid](4,4)
\psdots(3;45)(4;{(1,1)})
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list