[pstricks] pscircle and innver radius

Mathias Legrand legrand.mathias at gmail.com
Tue May 4 00:25:36 CEST 2010


Hi all,

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

\documentclass{article}
\usepackage{pstricks-add}
\usepackage{multido}

\begin{document}
\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(0,0){4}%
\pscircle(0,0){2}%
\psline[linecolor=red]{<->}(2,-0.1)(3.96472222,-0.1)
%1pt=0.035277778cm
\end{pspicture}
\end{document}


Is there an option to control this or do we have to perform the
calculations by hand?

Thanks


More information about the PSTricks mailing list