[pstricks] strange shift effect

azzam.hassan at voila.fr azzam.hassan at voila.fr
Sun Nov 15 17:45:37 CET 2009


Hi all pstrickers.
I remarked this strange behaviour when using \psline and \psdots, The points do not match the true coordinates
Please have a look to the ps file attached
\documentclass{article}
\usepackage{pstricks,pstricks-add}%showexpl,
\begin{document}
\begin{center}
      %\psset{xunit=.75cm,yunit=.75cm,unit=.75cm}
        \begin{pspicture*}(-1,-1)(5,5)
          \psaxes[linestyle=dotted]{->}(0,0)(-.5,-.5)(4.5,4.5)
          \psline[showpoints=true,dotstyle=o,dotsize=8pts]
          (0,0)(1,0)(2,0)(2,1)(2,2)(3,2)(3,3)(4,3)
        \end{pspicture*}
        \begin{pspicture*}(-1,-1)(5,5)
          \psaxes[linestyle=dotted]{->}(0,0)(-.5,-.5)(4.5,4.5)
          \psline[linestyle=dashed](0,0)(4.5,4.5)
          \psline%
          (0,0)(1,0)(2,0)(2,1)(2,2)(3,2)(3,3)(4,3)
          \psdots[dotstyle=o,dotsize=8pts](0,0)(1,0)(2,0)(2,1)(2,2)(3,2)(3,3)(4,3)
          \psline[linestyle=dotted]%
          (0,0)(0,1)(0,2)(1,2)(2,2)(2,3)(3,3)
          \psdots[dotstyle=*,dotsize=8pts](0,0)(0,1)(0,2)(1,2)(2,2)(2,3)(3,3)
        \end{pspicture*}
      \end{center}
\end{document}
Any help?
Cordialement
Azzam HASSAN
tel : 06 63 82 97 09

____________________________________________________

Gagnez un séjour au Maroc en découvrant les sketchs désopilants des ReVoila sur http://www.lesrevoila.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20091115/103d5dd9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ps
Type: application/postscript
Size: 140157 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20091115/103d5dd9/attachment-0001.ps>


More information about the PSTricks mailing list