[pstricks] By using pscustom different solution with pscurve
Marco Daniel
marcodaniel1807 at googlemail.com
Sat Nov 7 13:40:52 CET 2009
Hello,
I am sure that you can see the problem in the following example. I
marked the regions with a red circle.
%
\documentclass{article}
\parindent0pt
\pagestyle{empty}
\usepackage{pstricks-add}
\begin{document}
\begin{psgraph}[labels=none,ticks=none]{->}(0,0)(6.5,4.5){0.8\textwidth}{4cm}
\pscustom[fillstyle=solid,fillcolor=gray!30,linestyle=none]{%
\psline[linestyle=none](0.5,1.3)(0.5,0.1)%
\pscurve[linewidth=0.6pt,linestyle=dashed](0.5,0.1)(2,2.2)(4,0.3)(6,2.7)%
\psline[linestyle=none](6,2.7)(6,4.1)%
\pscurve[linewidth=0.6pt,linestyle=dashed](6,4.1)(4,2.1)(2,4.2)(0.5,1.3)%
}
%Funktion f
\pscurve[linewidth=0.8pt](0.5,0.7)(2,3.2)(4,1.2)(6,3.4)
%Epsilonschlauch unten
\pscurve[linewidth=0.6pt,linestyle=dashed](0.5,0.1)(2,2.2)(4,0.3)(6,2.7)
%Epsilonschlauch oben
\pscurve[linewidth=0.6pt,linestyle=dashed](6,4.1)(4,2.1)(2,4.2)(0.5,1.3)
\pscircle[linecolor=red](1.5,1.7){0.4}
\pscircle[linecolor=red](5.2,2.9){0.4}
\end{psgraph}
\end{document}
%
regards
Marco
More information about the PSTricks
mailing list