[pstricks] problem with pscustom

Luis Sequeira lfsequeira at gmail.com
Thu Jun 7 10:56:08 CEST 2012


> Message: 1
> Date: Wed, 6 Jun 2012 16:50:28 +0200
> From: Kin Mye <kinmye at gmail.com>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: [pstricks] problem with pscustom
> Message-ID:
> 	<CAMsKjuAqOCTB2i4qUbQ4McQGSYPSZCVCYDtax7CcrUht_w74pw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Dear all,
> I have a problem with pscustom. I want to show the area under parabol x^2.
> 
> The problem is that I got unwanted hatched area.
> 
> In next code, the first picture is the one I want (and don't work): shadow
> x^2 from 0 to 1.
> Then, I repeated but from -1 to 1. And there, the result is as expected.
> 
> Maybe I don't understand how I should close the path in pscustom (??).
> Thank you in advance,
> 



Your code appears to be correct, so I tried the code in your original example and it all worked flawlessly in my mac. 
Maybe you have some conflicting package versions? 
Can you try it on a different machine and see if the problem still occurs?

Luis Sequeira




More information about the PSTricks mailing list