# [pstricks] Problem with pst-pdf?

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue May 2 08:49:51 CEST 2006

McGarry Vince wrote:
> I've noted a problem with pst-pdf (I think); I don't think the
> problem is with psgraph nor with the script I'm using. See the
> examples below.

it is a problem with the preview package (more than four parameters).
In such cases put it into a postscript environment.

\begin{postscript}
\psset{llx=-0.8cm,urx=0.5cm,lly=-0.5cm,ury=0.5cm}
\psgraph(0,0)(0,-4)(20,4){\linewidth}{6cm}
\psset{algebraic=true}
\psplot[linecolor=yellow,linewidth=4\pslinewidth]{0.01}{20}{ln(x)}%
\psplot[linecolor=yellow,linewidth=4\pslinewidth]{0}{20}{cos(x)*2.71^
(-x/10)}
\psplot[linecolor=blue,showpoints=true]{0}{20}{cos(x)*2.71^(-x/10)}
\endpsgraph
\end{postscript}

Herbert