[pstricks] psarc shifts the origin

Peter Breitfeld phbrf at t-online.de
Fri Jul 25 15:00:18 CEST 2008


I run into a strange problem using psarc. Here is my code:

----------------------
  *File List*
  article.cls    2004/02/16 v1.4f Standard LaTeX document class
   size11.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
pstricks.sty    2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2008/06/26 v1.26 `PSTricks' (tvz)
   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
    color.cfg    2005/02/03 v1.3 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
----------------------

\documentclass[11pt,a4paper,twoside]{article}
\usepackage{pstricks}

\begin{document}
   \SpecialCoor

\begin{pspicture}(-2.8,-2.8)(2.8,2.8)
      {\psset{linestyle=dotted}
    \psline(-2,0)(2,0)\psline(2;60)(2;240)\psline(2;120)(2;300) }
   \psline(2,0)(2;60)(2;120)(2;180)(2;240)(2;300)(2,0)
   \qdisk(0,0){0.05}
   \qdisk(1.732;30){0.05}
   \qdisk(1.732;90){0.05}
   \qdisk(1.732;150){0,05}
   \qdisk(1.732;210){0,05}
   \qdisk(1.732;270){0.05}
   \qdisk(1.732;330){0.05}
\end{pspicture}

\begin{pspicture}(-2.8,-2.8)(2.8,2.8)
   {\psset{linestyle=dotted}
    \psline(-2,0)(2,0)\psline(2;60)(2;240)\psline(2;120)(2;300) }
   \psline(2,0)(2;60)(2;120)(2;180)(2;240)(2;300)(2,0)
   \qdisk(0,0){0.05}%
   \qdisk(1.732;30){0.05}\psarc(1.732;30){1}{-60}{120}\qdisk(0,0){0.05}%
   \qdisk(1.732;90){0.05}\psarc(1.732;90){1}{0}{180}\qdisk(0,0){0.05}%
   \qdisk(1.732;150){0,05}\psarc(1.732;150){1}{60}{240}\qdisk(0,0) 
{0.05}%
   \qdisk(1.732;210){0,05}\psarc(1.732;210){1}{120}{300}\qdisk(0,0) 
{0.05}%
   \qdisk(1.732;270){0.05}\psarc(1.732;270){1}{180}{360}\qdisk(0,0) 
{0.05}%
   \qdisk(1.732;330){0.05}\psarc(1.732;330){1}{-120}{60}\qdisk(0,0) 
{0.05}%
\end{pspicture}

\begin{pspicture}(-2.8,-2.8)(2.8,2.8)
   {\psset{linestyle=dotted}
    \psline(-2,0)(2,0)\psline(2;60)(2;240)\psline(2;120)(2;300) }
   \psline(2,0)(2;60)(2;120)(2;180)(2;240)(2;300)(2,0)
   \qdisk(0,0){0.05}%
   \qdisk(1.732;30){0.05}
   \qdisk(1.732;90){0.05}
   \qdisk(1.732;150){0,05}
   \qdisk(1.732;210){0,05}
   \qdisk(1.732;270){0.05}
   \qdisk(1.732;330){0.05}%
   \psarc(1.732;30){1}{300}{120}\qdisk(0,0){0.05}%
   \psarc(1.732;90){1}{0}{180}\qdisk(0,0){0.05}%
   \psarc(1.732;150){1}{60}{240}\qdisk(0,0){0.05}%
   \psarc(1.732;210){1}{120}{300}\qdisk(0,0){0.05}%
   \psarc(1.732;270){1}{180}{360}\qdisk(0,0){0.05}%
   \psarc(1.732;330){1}{-120}{60}\qdisk(0,0){0.05}%
\end{pspicture}

\end{document}

This is the result. I have no idea, what I did wrong. It seeams, that  
each call of psarc shifts the origin a small amount to the right.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bla.pdf
Type: application/pdf
Size: 4476 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20080725/31ad7f20/attachment.pdf 
-------------- next part --------------

Gru? Peter
--
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld                 | http://www.pBreitfeld.de
Kreuzgasse 4, 88348 Bad Saulgau | PGP/GPG Key gibt's hier





More information about the PSTricks mailing list