[pstricks] Parameterized graphics?

Johan Ekh ekh.johan at gmail.com
Fri Dec 28 13:32:22 CET 2007

Hi all,
I try to create a parameterized illustration, i.e. a picture that can be
completely
modified by changing the numerical values of some user defined parameters.
I'd like to use constructs such as

\def\var1{174.2 6.5 sub 2 div }
\multido{\n=0.0+22.5}{16}{%
\uput{\var1}[\n](4,4){\psdot[dotsize=0.2](0,0)}}

but I get an error when running latex.

Is it possible to do something like this in pstricks?

Best regards,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20071228/584e630b/attachment.html