[pstricks] multido moves the origin
Wojtek
listywojtka at gmail.com
Fri May 27 17:27:58 CEST 2011
I have found a work around with gsave-grestore:
============================
\begin{pspicture}(20,10)
\psgrid[gridcolor=blue, gridwidth=.3pt](-10,-10)(20,10)%%
\pscustom[linewidth=0pt]{
\gsave
\multido{\ikat=0+1}{\moj}{%
\rput{\ikat}{\psline(2,0)(2,0)}}%
\grestore}
\psgrid[gridcolor=red, gridwidth=.3pt](-10,-10)(20,10)%%
\end{pspicture}
====================================
Now the red lines perfectly cover the blue ones. And it is incredibly
faster.
It is still a mystery why multido alone produces the dilation effect.
Wojciech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20110527/f240fdcd/attachment.html>
More information about the PSTricks
mailing list