[pstricks] multido moves the origin
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Fri May 27 17:55:48 CEST 2011
Am 27.05.2011 17:27, schrieb Wojtek:
> 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.
I cannot see any difference with the current TeXLive version
Herbert
More information about the PSTricks
mailing list