<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm trying to draw a piece of the surface $xy=1$ using pst-solides3D.<div>Using the example on p. 108 of the (English-language) pst-solides3D manual</div><div>as a template, I managed to create a picture, but am confused by two things.&nbsp;</div><div>Here is my code, questions follow:</div><div><blockquote type="cite"><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                        </font></span><font class="Apple-style-span" color="#000000">\begin{pspicture}(-2,-2)(2,4.5)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">\psset{viewpoint=5 5 5,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">Decran=15,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">lightsrc=viewpoint</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">}</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">\defFunction{front}(u,v)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">{u}</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">{1 u div}</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">{v}</font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">\psSolid[%</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">object=surfaceparametree,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">base= 0.5 2 -1 1,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">fillcolor=lightgray,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">incolor=gray,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">function=front,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">ngrid=15 15,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">opacity=0.5</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">](0,0,0)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">\psSolid[%</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">object=surfaceparametree,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">base= -2 -0.5 -1 1,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">fillcolor=lightgray,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">incolor=gray,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">function=front,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">ngrid=15 15,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">opacity=0.5</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">](0,0,0)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">\axesIIID[linecolor=red](1,1,0)(2,2,2)</font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">\psSolid[%</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">object=surfaceparametree,</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">base= 0.5 2 -1 1,</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">fillcolor=lightgray,</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">incolor=gray,</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">function=front,</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">ngrid=15 15,</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                        </font></span><font class="Apple-style-span" color="#000000">opacity=0.5</font></div><div><font class="Apple-style-span" color="#000000">%</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                                </font></span><font class="Apple-style-span" color="#000000">](0,0,0)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                        </font></span><font class="Apple-style-span" color="#000000">\end{pspicture}</font></div></blockquote><div><br></div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><b><i>Question 1: </i></b></span></font>&nbsp;When I comment out the first \psSolid and uncomment the commented one,&nbsp;</div><div>I get an error message:</div><div><div apple-content-edited="true"><span class="Apple-style-span" style="font-size: 12px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Error: /undefined in front</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Operand stack:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp;&nbsp; S &nbsp; --nostringval-- &nbsp; 0.5 &nbsp; -1.0</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Execution stack:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp;&nbsp; %interp_exit &nbsp; .runexec2 &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; 2 &nbsp; %stopped_push &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; false &nbsp; 1 &nbsp; %stopped_push &nbsp; 1905 &nbsp; 1 &nbsp; 3 &nbsp; %oparray_pop &nbsp; 1904 &nbsp; 1 &nbsp; 3 &nbsp; %oparray_pop &nbsp; 1888 &nbsp; 1 &nbsp; 3 &nbsp; %oparray_pop &nbsp; 1771 &nbsp; 1 &nbsp; 3 &nbsp; %oparray_pop &nbsp; --nostringval-- &nbsp; %errorexec_pop &nbsp; .runexec2 &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; 2 &nbsp; %stopped_push &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; --nostringval-- &nbsp; 1 &nbsp; 1 &nbsp; 15 &nbsp; --nostringval-- &nbsp; %for_pos_int_continue &nbsp; 1 &nbsp; 1 &nbsp; 15 &nbsp; --nostringval-- &nbsp; %for_pos_int_continue &nbsp; --nostringval--</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Dictionary stack:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp;&nbsp; --<a href="dict:1148/1684(ro)(G)--">dict:1148/1684(ro)(G)--</a> &nbsp; --<a href="dict:0/20(G)--">dict:0/20(G)--</a> &nbsp; --<a href="dict:117/200(L)--">dict:117/200(L)--</a> &nbsp; --<a href="dict:736/1012(L)--">dict:736/1012(L)--</a> &nbsp; --<a href="dict:178/300(L)--">dict:178/300(L)--</a> &nbsp; --<a href="dict:38/200(L)--">dict:38/200(L)--</a> &nbsp; --<a href="dict:184/200(L)--">dict:184/200(L)--</a> &nbsp; --<a href="dict:736/1012(L)--">dict:736/1012(L)--</a> &nbsp; --<a href="dict:14/20(L)--">dict:14/20(L)--</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Current allocation mode is local</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Last OS error: 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Current file position is 465710</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">GPL Ghostscript 8.63: Unrecoverable error, exit code 1</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">### FAILED to generate /tmp/altpdflatex.40083-1251212757/pst-solides3dTest2.pdf ()</div></blockquote><div><font class="Apple-style-span" color="#144FAE" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Am I not allowed to have \axesIIID precede other objects (so that the latter cover part of the axes)?</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><b><i>Question 2:</i></b> I copied the "base" parameter from the example, but the text seems to say that the appropriate parameter</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">for surfaceparametree should be "range", which I think gives the range of values for u and v but in a different order.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">In any case, when I use "range" I get unexpected behavior: the figure drawn has no apparent relation to the one I want.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Any comment?</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><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; ">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></body></html>