<pre>>Use the liftpen option.
>Christoph<br><br>Thank you Christoph.<br>I have read about liftpen, and newpath, etc. But I still do not manage to fix it.<br><br>The example is very simple:<br>  \pscustom{%<br>    \psplot[liftpen=2]{0}{1}{x^2}<br>    \psline[liftpen=0](1,1)(1,0)(0,0)<br>
  }<br><br>If I understand correctly, psplot makes the path from (0,0) to (0,1) using x^2.<br>Then, with psline, I want to go from (1,1) to (1,0). I added the line to (0,0) just in case.<br>But I get a shadow in the upper corner: triangle (0,0.5)(0,1)(0.5,1). <br>
I have tried with different options of liftpen in both psplot and psline.<br>Also some "moveto" or newpath" ... but still cannot fix it.<br><br>If I use \psplot[liftpen=2]{0}{1}{0.3*x^2} then the shadow appear around (0,0.3) .... ????<br>

<br>(I used this feature in the past, but now, if I recompile those figures, I don't get the expected results).<br></pre>