# [pstricks] Strange behaviour with fillstyle and pst-func

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Aug 30 21:09:27 CEST 2007

halbard7 at aol.com wrote:
> Thanks for your reply. Perhaps I was not sufficiently clear before. I am aware of pscustom, and I know what to do with it. That is not what worries me. What I want to know is this: why do you get shading when you specify fillstyle=something? As far as I can see, there is nothing to be filled in psplot. Try this, for example.
>
> \psset{fillstyle=vlines}
>
> \begin{pspicture}(0,0)(2,4)
> ?\SpecialCoor
> ?\psplot{0}{2}{x 2 exp}
> ?\psaxes[Dy=0.1]{->}(0,0)(0,0)(2.5,.4.5)
> \end{pspicture}
>
> Where does the shading come from?
>

Gerry,
this is the default behaviour. With a given fillstyle the path is closed
and then filled. In this example a streight line from the end of the
curve to the beginning.

Herbert