[pstricks] using postscript functions

Alan Ristow ristow at ece.gatech.edu
Tue May 30 20:02:24 CEST 2006


Fred Moore wrote:
> 
> \vskip10pt
> \noindent
> \psset{unit=10pt,arrowsize=2.5pt 3}
> \pspicture(0,0)(+23.5,+12.0)
> \psframe[linewidth=0.4pt,linecolor=green](0,0)(+23.5,+12.0)
> \rput({rand 2350 mod 100 div},{rand 1200 mod 100 div}){X}

Try the following:

\rput(!rand 2350 mod 100 div rand 1200 mod 100 div){X}

Note the ! and the lack of a comma between coordinates. I didn't 
actually try this piece of code, but I don't think I forgot anything so 
it should work. (Famous last words....)

Alan


> \endpspicture
> ==================================================
> Any suggestions or advice, please.
> 
> regards,
> Fred
> -- 
> C Fred Moore,  Professor of Physics,  University of Texas
> 1 University Station C1600        4003 Greenmountain Lane
> Austin, Texas 78712-0264         Austin, Texas  78759-7565
> phone:  (512) 471-8877              phone: (512) 828-6798
> FAX:    (512) 471-9637
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks



More information about the PSTricks mailing list