<html><body><div>Hello,<br></div><div><br></div><div>I want to draw a 2-D lattice (regular array of points) with pstricks. The following example works fine for me<br></div><div><br></div><div>\multido{\nx=-6+1}{13}{<br>  \multido{\ny=-7+1}{15}{<br></div><div>    \psdot[dotsize=2.0pt](\numexpr \nx*2,\numexpr \nx*1+\ny*2 )<br></div><div>  }<br></div><div>}<br></div><div><br></div><div>Unfortunately this is too restrictive and I need a way to multiply the \nx and \ny variables by real numbers, i.e I want to write something like<br></div><div><br></div><div> \psdot[dotsize=2.0pt](\numexpr \nx*sqrt(3),\numexpr \nx*1.4+\ny*2 )<br></div><div><br></div><div>but this doesn't work. I tried the calc package but couldn't make it work either. <br></div><div><br></div><div>Kind Regards,<br></div><div>Christian<br></div></body></html>