5

An example in PSTricks User's Guide page 34.

\begin{pspicture}[showgrid=true](-1,-1)(4,4)
\pscustom[linewidth=2pt,fillstyle=solid,fillcolor=gray]
{
\pscurve(0,2)(1,2.5)(2,1.5)(4,3)
\pscurve(4,1)(3,0.5)(2,1)(1,0)(0,.5)
}
\end{pspicture}

enter image description here

4
\pscustom[linewidth=2pt,fillstyle=solid,fillcolor=gray]{%
    \pscurve(0,2)(1,2.5)(2,1.5)(4,3)
    \pscurve(4,1)(3,0.5)(2,1)(1,0)(0,.5)
    \closepath
}
  • Same example above, how to the line is non-displayed , its mean have only the region between two curves. Help me, please! – user173875 Nov 11 '18 at 14:47
  • linestyle=none – user2478 Nov 11 '18 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy