[pstricks] psball in pst-slpe

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Tue Oct 25 14:57:55 CEST 2011


Dear all,

Here is a small example using \psBall from pst-slpe.

Everything works well if all units are specified as in \psBall[sloperadius=0.5cm](1,1){red}{1cm}
But if the units are not specified as in \psBall[sloperadius=2](4,1){red}{1}, the ball is not placed at the (4,1) coordinates.

Any idea how to solve that small trouble?


\documentclass{article}
\usepackage{pstricks,pst-coil,pst-func,pst-slpe,pstricks-add}

\begin{document}
\begin{pspicture}(0,0)(6,3)
\psgrid
\psBall[sloperadius=0.5cm](1,1){red}{1cm}

\psBall[sloperadius=2](4,1){red}{1}
\end{pspicture}

\end{document}


Best regards,

Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20111025/aa8bfb60/attachment.html>


More information about the PSTricks mailing list