%
% pstricks example on ConTeXt mkiv
% context pstest2.tex
%
\usemodule[pstricks]
\usePSTRICKSmodule[pst-plot]
\starttext
\startPSTRICKS
\psset{unit=0.4,linewidth=4pt,arrows=-c}
\parindent=0pt
\pspicture(-20,-6)(18,6)
\psset{plotstyle=curve}
\rput(-17,-5){\pscustom{\psline(0,0)\psplot[liftpen=0]{0}{10}{11 1 x add div 1 sub}}}
\rput(-5,-5){\pscustom{\psline(0,0)\psplot[liftpen=1]{0}{10}{11 1 x add div 1 sub}}}
\rput(7,-5){\pscustom{\psline(0,0)\psplot[liftpen=2]{0}{10}{11 1 x add div 1 sub}}}
\endpspicture

\pspicture(-20,-1)(18,7)
\psset{linearc=1}
\rput(-12,0){\pscustom{\psline(0,0)\psline[liftpen=0](-5,5)(5,5)}}
\rput(0,0){\pscustom{\psline(0,0)\psline[liftpen=1](-5,5)(5,5)}}
\rput(12,0){\pscustom{\psline(0,0)\psline[liftpen=2](-5,5)(5,5)}}
\endpspicture
\stopPSTRICKS
\stoptext
