[pstricks] Parameterized graphics?

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Dec 28 15:32:55 CET 2007


Johan Ekh schrieb:
> 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?

no, not in this case. The parameter is read as a value with
a unit before it is passed to PostScript.


Herbert



More information about the PSTricks mailing list