[pstricks] problem with pscustom

Kin Mye kinmye at gmail.com
Thu Jun 7 04:05:39 CEST 2012


>Use the liftpen option.
>Christoph

Thank you Christoph.
I have read about liftpen, and newpath, etc. But I still do not manage
to fix it.

The example is very simple:
  \pscustom{%
    \psplot[liftpen=2]{0}{1}{x^2}
    \psline[liftpen=0](1,1)(1,0)(0,0)
  }

If I understand correctly, psplot makes the path from (0,0) to (0,1) using x^2.
Then, with psline, I want to go from (1,1) to (1,0). I added the line
to (0,0) just in case.
But I get a shadow in the upper corner: triangle (0,0.5)(0,1)(0.5,1).
I have tried with different options of liftpen in both psplot and psline.
Also some "moveto" or newpath" ... but still cannot fix it.

If I use \psplot[liftpen=2]{0}{1}{0.3*x^2} then the shadow appear
around (0,0.3) .... ????

(I used this feature in the past, but now, if I recompile those
figures, I don't get the expected results).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20120607/d7d3edc9/attachment-0001.html>


More information about the PSTricks mailing list