[pstricks] Using pscoil/pszigzag along arc

Carsten Vogel lego at wh10.tu-dresden.de
Tue Apr 29 09:08:33 CEST 2008


John Smith schrieb:
> I would like to draw a coil or zizgag along a specified circular arc 
> of some radius and start and end angle similar to psarc. Does anyone 
> know how to do this?
>  
This wont work =(

\documentclass{scrartcl}
\usepackage{pst-coil,pst-text}
\begin{document}
 \begin{pspicture}(10,10)
  \psframe(10,10)
  \pscircle[linecolor=red](5,5){4}
  
\rput(5,5){\pstextpath[c](0,0){\pscircle{4}}{\pscoil[coilarm=0,coilwidth=1](2,5)(8,5)}}
 \end{pspicture}
\end{document}




More information about the PSTricks mailing list