\documentclass[]{article} \usepackage{pstricks} \usepackage{pst-coil} \usepackage{pstricks-add} \pagestyle{empty} \parindent=0pt \begin{document} \begin{center} \bgroup \begin{pspicture}(4,4) \pscoil[coilarm=.5cm,linewidth=1.5pt,coilwidth=.5cm,linecolor=blue]{|->}(4,3) \pscoil[linecolor=red,coilheight=0.25](3,4)(3,1) \pscoil[doubleline=true,linecolor=cyan,coilheight=0.75](0,4)(3,0) \end{pspicture} \hspace{1em} \begin{pspicture}(4,4) \pszigzag[coilarm=.5cm,linewidth=1.5pt,coilwidth=.5cm,linecolor=blue]{|->}(4,3) \pszigzag[linecolor=red,coilheight=0.2](3,4)(3,1) \pszigzag[doubleline=true,linecolor=cyan,coilheight=0.75](0,4)(3,0) \end{pspicture} \egroup \end{center} \end{document}