[pstricks] pstricks-add: Problems with psclip and psStep

Marco Daniel marcodaniel1807 at googlemail.com
Mon Jul 20 15:18:40 CEST 2009


Hello,

first the minimal example:
%=================%
\documentclass{article}
\pagestyle{empty}
\parindent0pt
\usepackage{pstricks}
\usepackage{pst-plot}
\usepackage{pstricks-add}

\begin{document}
\def\pshlabel#1{$\tau_{#1}$}
  \psset{unit=1cm,%
      yAxisLabel={$u(t) , \widetilde{u}(t)$},xAxisLabel={$t$}}

\begin{psgraph}[labels=x,ticks=x,dx=10]{->}(0,0)(-1,0)(95,3.5){10cm}{8cm}
            \psset{plotpoints=500,algebraic}
            \psplot[linecolor=blue!70!black]{0}{90}{sqrt(sqrt(x+2))}
            \psclip{%

\psStep[linewidth=0.8pt,linecolor=green!70!black,StepType=lower](0,90){9}{sqrt(sqrt(x+2))}

\psStep[linewidth=1.5pt,linecolor=red!70!black,StepType=Riemann](0,90){9}{sqrt(sqrt(x+2))}}
            \endpsclip
     \end{psgraph}
\end{document}
%=================%

I have the following problem the red line do not cover the green line. I
hope you see it.

regards
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090720/7fcb23c6/attachment.html>


More information about the PSTricks mailing list