<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks! &nbsp;(One of these days I'll figure out the syntax of "1" or not to "1" &nbsp;:-)</div><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><br class="Apple-interchange-newline">Zbigniew Nitecki</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Department of Mathematics</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Tufts University</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medford, MA 02155</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">telephones:</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office<span class="Apple-converted-space"><span class="Apple-converted-tab">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span></span>(617)627-3843</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Dept.<span class="Apple-converted-space"><span class="Apple-converted-tab">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span></span>(617)627-3234</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Dept. fax<span class="Apple-converted-space"><span class="Apple-converted-tab">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span></span>(617)627-3966</font></p><a href="http://www.tufts.edu/~znitecki/">http://www.tufts.edu/~znitecki/</a></span> </div><br><div><div>On Jan 7, 2009, at 15:15, Herbert Voss wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Zbigniew Nitecki schrieb:<br><blockquote type="cite">I am not sure what is wrong with the following code; &nbsp;I am drawing the<br></blockquote><blockquote type="cite">surface z=xy over the square [0,1]\times[0,1] (this works fine, if the<br></blockquote><blockquote type="cite">multido is commented out) and then to draw<br></blockquote><blockquote type="cite">unit normal vectors to this surface.<br></blockquote><blockquote type="cite">***********************************************************************<br></blockquote><blockquote type="cite">%!TEX TS-program = &nbsp;latex<br></blockquote><blockquote type="cite">\documentclass[11pt]{article}<br></blockquote><blockquote type="cite">\usepackage{amsmath, amssymb}<br></blockquote><blockquote type="cite">\usepackage[dvipsnames, svgnames]{pstricks}<br></blockquote><blockquote type="cite">\usepackage{pst-plot, pst-math, pst-3dplot}<br></blockquote><blockquote type="cite">\usepackage{pst-grad, pst-func, pst-text}<br></blockquote><blockquote type="cite">\usepackage{pstricks-add}<br></blockquote><blockquote type="cite">\title{Brief Article}<br></blockquote><blockquote type="cite">\author{The Author}<br></blockquote><blockquote type="cite">\begin{document}<br></blockquote><blockquote type="cite">\maketitle<br></blockquote><blockquote type="cite">\begin{figure}[htbp]<br></blockquote><blockquote type="cite">\begin{center}<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;\begin{pspicture}(-3.5,-3)(3.5,3.5)<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;\psset{Alpha=-30, unit=3}<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\pstThreeDCoor[xMin=0, xMax=1.5, yMin=0, yMax=1.5, zMin=0, zMax=2]<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\pstThreeDSquare[fillstyle=solid, fillcolor=gray,<br></blockquote><blockquote type="cite">linestyle=none](0,0,0)(1,0,0)(0,1,0)<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\psplotThreeD[xPlotpoints=10, yPlotpoints=10,<br></blockquote><blockquote type="cite">drawStyle=xyLines](0,1)(0,1){x y mul}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\newcommand{\veclength}[3]{%<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#1 dup mul #2 dup mul #3 dup mul add add 0.5 exp<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;\newcommand{\makevector}[3]{%<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\pstThreeDLine[arrows=->, arrowscale=2,<br></blockquote><blockquote type="cite">linewidth=2pt](0,0,0)(#1,#2,#3)%<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\multido{\rx=0+0.1}{10}{%<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\multido{\ry=0+0.1}{10}{%<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\pstThreeDPut(!\rx, \ry, \rx\space \ry\space mul){%<br></blockquote><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\pstThreeDPut(\rx, \ry, \rx\space \ry\space mul){%<br><br>without the exclamation.<br><br>Herbert<br>_______________________________________________<br>PSTricks mailing list<br><a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>http://tug.org/mailman/listinfo/pstricks<br></div></blockquote></div><br></body></html>