[pstricks] pstricks about psdot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Jan 20 20:50:21 CET 2013

Am 19.01.2013 13:36, schrieb Germain BOYER:

> For me it's difficult to control dotsize and dotscale, so i write two
> macros \psdotx and \psdotl

I do not really understand what do you want to draw.
However, here is an example how optional arguments
can be used:

\def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[nodesep=1.5mm]}}
\def\psdotx at i[#1](#2)#3{{%
   \multido{\r=#3+90 , \ia=1+1}{4}{%
   }% fin du \multido
}}% fin de \newcommand
\psset{gridcolor=gray, gridwidth=0.15mm, gridlabels=0pt, subgriddiv=1}


More information about the PSTricks mailing list