[pstricks] how to use draw a circle of radius \sqrt{2} without using a calculator

Michael Sharpe mchl.sharpe at gmail.com
Wed Sep 9 05:13:25 CEST 2009


On Sep 8, 2009, at 7:52 PM, Luiz Fernando C Camargo wrote:

>
> Hello,
>
> I know things like this
>
>  \SpecialCoor
>  \pscircle(!2 sqrt 2 mul 1){3}
>
> Fine, but I can't figure out how to draw, say, a circle of center
> (0,0) and radius \sqrt{2} without using a calculator. Is there an
> easy way?

Use \pselleipse, as in

\begin{pspicture}(-2,-2)(2,2)
\psaxes[Ox=-2,Oy=-2](-2,-2)(2,2)
\psellipse(0,0)(!2 sqrt dup)
\end{pspicture}



More information about the PSTricks mailing list