[pstricks] radius of a circle

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Apr 15 22:50:24 CEST 2010


Am 15.04.2010 18:26, schrieb Hensh, Richard:
> You can also try something like this. 
> 
> \documentclass{article}
> \usepackage{pstricks-add}
> \begin{document}
> \begin{pspicture}(-4,-4)(4,4)
> \pstVerb{%
> %%%%%% Place in your custom PSTricks.pro file %%%%%%%%%%%%%%%%
> /polar@ {dup cos 3 1 roll sin 3 1 roll dup 4 1 roll mul 3 1 roll mul} def % (r,theta) -> (x,y)
> }

there is already a PtoC in pstricks.pro

Herbert


More information about the PSTricks mailing list