\begin{pspicture}(0,0)(2,2)\showgrid \psline[linewidth=1pt,linecolor=gray]{<->}(0.5,0)(0,1)(1,1.5)(1.5,1)(.5,.5) \end{pspicture}