<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I want to place two pictures side-by-side inside a pspicture envinronment:  one involves plotting a curve, for which I need to set a much smaller yunit.  So (trying to mimic the "cat" on pp. 148-150 of the Latex Graphics Companion) I created two commands, one to draw each picture, then used an \rput to place them next to each other.<DIV>Here is the code:</DIV><DIV>******************************************************************</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>\newcommand{\GPic}{%</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\psset{yunit=0.1 mm}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\psline{&lt;-&gt;}(-1.5,0)(1.5,0)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\psline{&lt;-&gt;}(0,-120)(0,120)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(-1,0){$|$}\uput[dl](-1,0){$-1$}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(1,0){$|$}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(1,0){$|$}\uput[dr](1,0){$1$}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(0,90){$-$}\uput[r](0,90){$\frac{\pi}{2}$}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(0,-90){$-$}\uput[r](0,-90){$-\frac{\pi}{2}$}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\parametricplot{-90}{90}{t sin t}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\newcommand{\DPic}{%</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>\psline[linestyle=dashed]{&lt;-&gt;}(-1.2,0)(1.2,0)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>\psline[linestyle=dashed]{&lt;-&gt;}(0,-1.2)(0,1.2)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>\psarc[linewidth=1.0pt][&lt;-&gt;](0,0){1}{-90}{90}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>\begin{pspicture}(-4,-1.5)(4,1.5)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(-2.8,0){\DPic}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(2.5,0){\GPic}</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>\end{pspicture}</DIV><DIV>****************************************************************************</DIV><DIV>but I get the error message</DIV><DIV>****************************************************************************</DIV><DIV>! Missing number, treated as zero.</DIV><DIV>&lt;to be read again&gt; </DIV><DIV>                   &lt;</DIV><DIV>l.90 <SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(-2.8,0){\DPic}</DIV><DIV>                             </DIV><DIV>? l.90 <SPAN class="Apple-tab-span" style="white-space:pre">                                </SPAN>\rput(-2.8,0){\DPic}</DIV><DIV>                             </DIV><DIV>******************************************************************************</DIV><DIV>and I can't figure out what I am doing wrong.  What does the program expect</DIV><DIV>in the \rput command?<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Zbigniew Nitecki</FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Department of Mathematics</FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Tufts University</FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Medford, MA 02155</FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">telephones:</FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px 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: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px 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: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px 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><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>