<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><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"> <span class="Apple-converted-space"> </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"> <span class="Apple-converted-space"> </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"> <span class="Apple-converted-space"> </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 Jul 12, 2008, at 6:00, <a href="mailto:pstricks-request@tug.org">pstricks-request@tug.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Message: 2<br>Date: Fri, 11 Jul 2008 15:23:57 -0400<br>From: Zbigniew Nitecki <<a href="mailto:zbigniew.nitecki@tufts.edu">zbigniew.nitecki@tufts.edu</a>><br>Subject: [pstricks] placing subpictures in pstricks<br>To: <a href="mailto:pstricks@tug.org">pstricks@tug.org</a><br>Message-ID: <<a href="mailto:DE21C360-079A-439C-A4D3-89421E1E8026@tufts.edu">DE21C360-079A-439C-A4D3-89421E1E8026@tufts.edu</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>I want to place two different pictures side-by-side, and tried the <br>following:<br>**********************************************************************************<br><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>\begin{pspicture}(-4,-2.5)(4,2.5)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>\psset{xunit=2cm, yunit=2cm}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\newcommand{\polarplane}{<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\psline{<->}(0,2)(0,0)(2,0)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\uput[u](0,2){$\theta$}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\uput[r](2,0){$r$}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\pspolygon[fillstyle=hlines,fillcolor=lightgray, gridangle=45]%<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>(0,0.5)(1.5,0.5)(1.5,1.5)(0,1.5)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\newcommand{\rectplane}{<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\psline{<->}(0,2)(0,-2)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\psline{<->}(-2,0)(2,0)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\uput[u](0,2){$y$}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\uput[r](2,0){$x$}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\multido{\rr=0.5+0.2}{6}{%<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\psarc(0,0){\rr}{0}{90}%<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>}<span class="Apple-tab-span" style="white-space:pre">        </span><br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\multido{\rt=0+10}{90}{%<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\psline(0.5 \rt\space cos mul, 0.5 \rt\space sin mul)%<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>(1.5 \rt\space cos mul, 1.5 \rt\space sin mul)%<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>}<span class="Apple-tab-span" style="white-space:pre">        </span><br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\rput(-4,0){\polarplane}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\rput(2,0){\rectplane}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>\end{pspicture}<br></blockquote>***************************************************************************************<br>which gave me an error message<br><br><blockquote type="cite">l.49 <span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\rput(-4,0){\polarplane}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">?<br></blockquote><blockquote type="cite">! Illegal unit of measure (pt inserted).<br></blockquote><blockquote type="cite"><to be read again><br></blockquote><blockquote type="cite"> 0<br></blockquote><blockquote type="cite">l.50 <span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>\rput(2,0){\rectplane}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">?<br></blockquote><blockquote type="cite"><br></blockquote><br>(line 49 is the first \rput) If I hit return, it repeated the second <br>message, four times with 0, then four with 1 in place of zero, etc; <br>when I ran in silent mode, I got an output consisting of two copies of <br>the object defined by \polarplane, once on the extreme left and the <br>other on the extreme right, and no copy of \rectplane. What is going <br>on, and how should I carry out what I want to do?<br><br><br><br>Zbigniew Nitecki<br>Department of Mathematics<br>Tufts University<br>Medford, MA 02155<br><br>telephones:<br>Office (617)627-3843<br>Dept. (617)627-3234<br>Dept. fax (617)627-3966<br><a href="http://www.tufts.edu/~znitecki/">http://www.tufts.edu/~znitecki/</a><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://tug.org/pipermail/pstricks/attachments/20080711/eaf72305/attachment-0001.html <br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 11 Jul 2008 13:45:39 -0700<br>From: Michael Sharpe <msharpe@ucsd.edu><br>Subject: Re: [pstricks] placing subpictures in pstricks<br>To: Graphics with PSTricks <pstricks@tug.org><br>Cc: Michael Sharpe <msharpe@ucsd.edu><br>Message-ID: <90F1484E-2194-4A9A-BC13-84B426F9DD07@ucsd.edu><br>Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br><br>The main problem is the \psline specification. The first should be<br><br>\psline(!0.5 \rt\space cos mul 0.5 \rt\space sin mul)%add ! at start, <br>drop comma<br><br>and similarly for the second. Make sure to say \SpecialCoor beforehand.<br><br>Michael<br><br></div></blockquote><br></div><div>I understand the change in format in the \psline specification, but I am not sure where the \SpecialCoor command should go (my copy of the pstricks book has paragraphs on p. 27 and 125, but not one example of the syntax of using it. Does it go at the start of the body of the \newcommand definition, or inside the multido---and do I need to put a \NormalCoor command somewhere at the end?</div></body></html>