[pstricks] pslineto with problems

Goebel, Juergen, OPES26 juergen.goebel at eads.com
Fri Mar 16 12:16:16 CET 2007


Hi,

with Herbert's help I got the pslineto command with the above
definition.
But please have a look at the result: The length of consecutive arrows
when using pslineto and pscustom is a bit to short (currentpoint may
be not at the 'real' end of the arrow).

Regards,

Juergen



\documentclass{minimal}
\usepackage{pstricks}
\def\pslineto(#1){\psline(#1)\code{ currentpoint translate 0 0 moveto }}
\begin{document}
\begin{pspicture}(0,0)(10,10)
     \SpecialCoor
     \multirput(-0.2,0)(0.5,0.3){10}{\psline[arrows=->](0,0)(0.5,0.3)}
     \pscustom[arrows=->,liftpen=0]{%
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
        \pslineto(0.5831;31)
     }
     \rput(0.2,0){%
        \pscustom[arrows=->,liftpen=1]{%
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
           \pslineto(0.5,0.3)
        }
     }
\end{pspicture}
\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070316/7ae4d373/attachment.html 


More information about the PSTricks mailing list