[pstricks] pscircle and innver radius

Juergen Gilg gilg at acrotex.net
Tue May 4 00:52:17 CEST 2010


Dear Mathias,

> from what I see in the following example, the radius of a circle
> created with pscircle
> is an inner radius:
try and check the option:

dimen=inner/outer (for the \pscircle)

like in the following modified example from you:

\begin{pspicture}(-4,-4)(4,4)
\multido{\iA=0+1}{8}{%
\cnode*(!2 dup 360 8 div \iA\space mul cos mul exch 360 8 div
\iA\space mul sin mul){0pt}{A}%
\cnode*(!4 dup 360 8 div \iA\space mul cos mul exch 360 8 div
\iA\space mul sin mul){0pt}{B}%
\psline{<->}(A)(B)%
}%
\pscircle[dimen=inner,linewidth=4pt](0,0){4}%
\pscircle[dimen=outer,linewidth=8pt](0,0){2}%
\psline[linecolor=red]{<->}(2,-0.1)(3.96472222,-0.1)
%1pt=0.035277778cm
\end{pspicture}

Hope this helps.

Regards,

Juergen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100504/2b38ab07/attachment.html>


More information about the PSTricks mailing list