[pstricks] question about coordinates
Christophe Jorssen
christophe.jorssen at free.fr
Mon Jan 23 18:20:09 CET 2006
pstricks-bounces at tug.org wrote:
> Hi to All,
>
> I found in a File including PSTricks the following:
>
> \multido{\i=1+1}{8}{%
> \psline[linestyle=dashed](!\i\space 0)(!\i\space 10 \i\space 1
> add div)% \psline[linestyle=dotted]%
> (!1 10 \i\space div)(!\i\space 1 sub 10 \i\space div)}
>
>
> I understand the multido-package, but I don't understand the
> construction of the coordinates. Who can explain it? What is the
> x-coordinate and what the y-coordinate?
The structure for \SpecialCoor with Postscript raw code is :
(! <PostScript code for x coordinate> <PostScript code for y coordinate>)
So
(! 1 1 add 2 2 add) stands for (2,4)
>
> Where do I find more about that construktion?
In the reference manual page 72.
>
> Is it a postscript-code?
Yes.
--
Christophe
More information about the PSTricks
mailing list