<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The code and picture below show the graph of a function, a plane parallel to the yz-plane cutting it at (1,1/2,1/8) (object=grille),<div>and the curve of intersection, created as object=courbe (I found that trying to use intersectiontype=0, etc---see commented stuff---</div><div>doesn't work here). </div><div><br></div><div>object=courbe involves two width parameters: linewidth appears to have no effect, whereas r= (r is the radius</div><div>of the object drawn as a "tube" around the purported curve) does. I needed to put the curve slightly to the left of the plane to avoid</div><div>interaction with it, but would like to get a somewhat thinner "linewidth" without it breaking up due to the grille.</div><div><br></div><div>Furthermore, even though linecolor=blue, the curve comes out black. </div><div><br></div><div>Any fix for either problem?</div><div>###########################################################</div><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">% !TEX TS-program = latex</font></div><div><font class="Apple-style-span" color="#000000">\listfiles</font></div><div><font class="Apple-style-span" color="#000000">%\documentclass[11pt]{article}</font></div><div><font class="Apple-style-span" color="#000000">%\usepackage{pst-solides3d, pst-3dplot, pst-math,pstricks-add}</font></div><div><font class="Apple-style-span" color="#000000">%\usepackage{pst-3d}</font></div><div><font class="Apple-style-span" color="#000000">%\usepackage{graphicsmacros}</font></div><div><font class="Apple-style-span" color="#000000">\listfiles</font></div><div><font class="Apple-style-span" color="#000000">\documentclass[11pt]{article}</font></div><div><font class="Apple-style-span" color="#000000">\usepackage{pst-solides3d}</font></div><div><font class="Apple-style-span" color="#000000">\begin{document}</font></div><div><font class="Apple-style-span" color="#000000">\begin{pspicture}(-1.5,-2)(1.5,3)</font></div><div><font class="Apple-style-span" color="#000000">\psset{solidmemory}</font></div><div><font class="Apple-style-span" color="#000000">\psset{unit=0.5}</font></div><div><font class="Apple-style-span" color="#000000">\psset{lightsrc=50 80 10, viewpoint=15 60 20 rtp2xyz,Decran=50}</font></div><div><font class="Apple-style-span" color="#000000">% first surface</font></div><div><font class="Apple-style-span" color="#000000">\defFunction[algebraic]{Func}(x,y){}{}{ (x^2-3*y^2)/2 }{}{}</font></div><div><font class="Apple-style-span" color="#000000">\psSolid[</font></div><div><font class="Apple-style-span" color="#000000"> object=surface,</font></div><div><font class="Apple-style-span" color="#000000"> fillcolor=lightgray,</font></div><div><font class="Apple-style-span" color="#000000"> incolor=green!30,</font></div><div><font class="Apple-style-span" color="#000000"> function=Func,</font></div><div><font class="Apple-style-span" color="#000000"> base=-0.5 1.5 -1 1.0,</font></div><div><font class="Apple-style-span" color="#000000"> ngrid=0.1 0.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">intersectiontype=0,</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">intersectionplan={[1 0 0 -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">intersectionlinewidth=1.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">intersectioncolor=bleu,</font></div><div><font class="Apple-style-span" color="#000000">% </font></div><div><font class="Apple-style-span" color="#000000"> action=none,</font></div><div><font class="Apple-style-span" color="#000000"> name=graphsurfA](0,0,0)</font></div><div><font class="Apple-style-span" color="#000000">%slicing plane in y direction</font></div><div><font class="Apple-style-span" color="#000000">\psSolid[object=grille,</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=-1.0 1.5 -2.0 1.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">RotY=90,</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">action=none,</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">name=planey</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,0.5,0.25)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000">                </font></span></div><div><font class="Apple-style-span" color="#000000">% intersection curve</font></div><div><font class="Apple-style-span" color="#000000">\defFunction[algebraic]{curvey}(t){1}{t}{0.5-1.5*t^2}</font></div><div><font class="Apple-style-span" color="#000000">\psSolid[%</font></div><div><font class="Apple-style-span" color="#000000">object=courbe,</font></div><div><font class="Apple-style-span" color="#000000">r=0.05,</font></div><div><font class="Apple-style-span" color="#000000">range=-1.0 1.0,</font></div><div><font class="Apple-style-span" color="#000000">resolution=720,</font></div><div><font class="Apple-style-span" color="#000000">linecolor=blue,</font></div><div><font class="Apple-style-span" color="#000000">linewidth=1.5pt,</font></div><div><font class="Apple-style-span" color="#000000">function=curvey,</font></div><div><font class="Apple-style-span" color="#000000">action=none,</font></div><div><font class="Apple-style-span" color="#000000">name=curvey,</font></div><div><font class="Apple-style-span" color="#000000">](0.05,0,0)%</font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><font class="Apple-style-span" color="#000000">% combine both surfaces</font></div><div><font class="Apple-style-span" color="#000000">\psSolid[</font></div><div><font class="Apple-style-span" color="#000000"> object=fusion,</font></div><div><font class="Apple-style-span" color="#000000"> action=draw**,</font></div><div><font class="Apple-style-span" color="#000000"> base=graphsurfA planey curvey,</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">]</font></div><div><font class="Apple-style-span" color="#000000">%</font></div><div><font class="Apple-style-span" color="#000000">\composeSolid</font></div><div><font class="Apple-style-span" color="#000000">\end{pspicture}</font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><font class="Apple-style-span" color="#000000">\end{document}</font></div></blockquote><div><div>##############################################################</div></div><div></div></div></body></html>