[pstricks] radius of a circle
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Apr 15 17:42:40 CEST 2010
Am 15.04.2010 17:02, schrieb mathias legrand:
> but I would like to be able to parametrize the B node position with some
> postscript command
> such as:
>
> \cnode*(4*cos(62),4*sin(62)){0pt}{B} (for instance)
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(-4,-4)(4,4)
\pscircle(0,0){4}
\cnode*(0,0){0pt}{A}
\cnode*(!4 dup 62 cos mul exch 62 sin mul ){0pt}{B}
\ncline[nodesep=3pt]{<->}{A}{B}
\mput*{$R$}
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list