[pstricks] Strange behaviour with fillstyle and pst-func

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Aug 30 19:46:03 CEST 2007


halbard7 at aol.com wrote:
> I am hoping to implement some kind of shading for graphs, for example with \psGauss where one or both tails of the distribution are highlighted, as is common in hypothesis testing. I have an idea how to do this. However, before starting, I have noticed that if I write
>
> ?\psset{fillstyle=vlines} or \psset{fillstyle=solid}
>
> outside a pspicture with something like
> ?
> ?\psGauss[mue=0,sigma=1]{-4}{4}? or even \pslot{0}{4}{x sqrt}
>
> weird shading appears (on my system) which should not be there. The setting of fill parameters should not affect graphs directly. I suspect that this is not a feature but a bug, which interferes with my plans somewhat. Any thoughts?

Gerry,
filling is possible with \pscustom. It allows to create a closed
path
http://tug.org/PSTricks/main.cgi?file=pst-plot/FunctionExamples#shading

Herbert



More information about the PSTricks mailing list