<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Is it possible to<div>1. Create within one picture projections onto several different planes, and if so</div><div>2. to fuse these?</div><div><br></div><div>I want (eventually) to draw a paraboloid (say $4x^2+y^2=z$) together with three planes, say the xz and yz planes as well as the plane z=2. In each plane I would like to draw the curve of intersection of the given plane with the paraboloid. I want to make the planes different colors, and to color the curves of intersection with the surface correspondingly.</div><div><br></div><div>The syntax for projections appears to involve a \psset{plan=??} command, after the definition of the plane of projection, but before the \psprojection command. It looks to me as if the first such declaration supersedes all others. Thus with the code below, I get the (blue) xz=-plane and the curve on it, but then the (red) yz=-plane appears with only the part of it that projects onto the already declared xz plane. If I comment out all the commands giving the xz plane and its curve of intersection with the surface, I get the full (red) yz plane. However (and this is certainly a separate issue) the (red) curve of intersection I have drawn on this does not appear.</div><div><br></div><div>How can I get both planes, each with its curve, to both appear in a single pspicture, and even better, to have them fuse, so that implicitly it is clear how they intersect with each other?</div><div><br></div><div>******************************************************</div><div><div>\documentclass[11pt]{article}</div><div>\usepackage{pst-solides3d, pst-3dplot, pst-math,pstricks-add}</div><div>\usepackage{pst-3d}</div><div><br></div><div><br></div><div><br></div><div>\begin{document}</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>\begin{pspicture}(-3,-1.5)(3,5.5)</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psset{unit=0.35}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psset{lightsrc=40 50 50, viewpoint=18 65 30 rtp2xyz}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psset{solidmemory}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psSolid[object=plan,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>definition=equation,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>args={[1 0 0 0] 90},</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>base=-2 2 -0.5 4.5,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>fillcolor=blue!10,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>opacity=0,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>name=xplane,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>]</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psset{plan=xplane}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\defFunction[algebraic]{xcutfcn}(y){y*y}{}{}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psProjection[object=courbe,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>linecolor=blue,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>range=-2 2,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>resolution=720,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>function=xcutfcn, </div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>name=xcut,</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>\psSolid[object=plan,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>definition=equation,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>args={[0 1 0 0]},</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>base=-2 2 -0.5 4.5,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>fillcolor=red!10,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>opacity=0,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>name=yplane,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>]</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psset{plan=yplane}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\defFunction[algebraic]{ycutfcn}(x){4*x*x}{}{}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>\psProjection[object=courbe,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>linecolor=red,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>range=-1 1,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>resolution=720,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>function=ycutfcn, </div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>name=ycut,</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>\psSolid[object=fusion,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>base=xplane_s yplane_s,</div><div>%<span class="Apple-tab-span" style="white-space:pre">                                </span>base=yplane_s xplane_s,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>action=draw**,</div><div>%<span class="Apple-tab-span" style="white-space:pre">                                </span>base=xcut ycut,</div><div>%<span class="Apple-tab-span" style="white-space:pre">                                </span>base=xplane_s,</div><div>%<span class="Apple-tab-span" style="white-space:pre">                                </span>base=yplane_s,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>]</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>\composeSolid</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>\end{pspicture}</div><div>\end{document}</div></div><div><br></div><div>****************************************************************************</div><div><br></div><div><br><div>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><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-size: 12px; "><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-size: 12px; "><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-size: 12px; "><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; font-size: 12px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><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-size: 12px; "><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-size: 12px; "><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-size: 12px; "><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><span class="Apple-style-span" style="font-size: 12px; "><a href="http://www.tufts.edu/~znitecki/">http://www.tufts.edu/~znitecki/</a></span>
</div>
<br></div></body></html>