Drawing Coils or zig zags between two points.

learn more… | top users | synonyms

7
votes
2answers
270 views

How to draw a ruby laser

I would like to draw a ruby laser like in images bellow or What I did so far is taken from How can I draw nucleosomes with wrapped DNA in tikz or pstricks?. The problem is that the glass tube around ...
5
votes
2answers
153 views

How to put a “coil” inside an ncline (between nodes)?, in PStricks

How to put a "coil" in an \ncline between nodes? similar to: I have viewed \pscoil and options as coilarm=0.5,.. but.... in \ncline or similars?, how? I have this code, for example \...
5
votes
1answer
802 views

How to get a consistent zigzag line?

I want to get a consistent zigzag line that will be used to mimic a physical spring. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-coil,multido} \usepackage[nomessages]{fp} \FPset\...
11
votes
2answers
381 views

PSTricks drawing with variables not exact

Consider the following example: \documentclass{article} \usepackage{pst-coil} \psset{dimen = middel} \def\frekvensgenerator[#1,#2](#3,#4){ \psframe(#3,#4)(!#3 #1 add #4 #2 add) \psline(!#3 #4 #...