Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pst-coil]

Drawing Coils or zig zags between two points.

3
votes
1answer
219 views

Drawing a 2D square lattice (springs + balls) on a convex surface

I need help with drawing a 2D square lattice made of springs and balls (see the picture) on a convex surface, such as spherical one. Could you please let me know is there a possibility of making this ...
-2
votes
2answers
135 views

How to draw a [spherical] spring?

I want to draw a spring that looks like its covering the surface of a sphere. Something that looks like this: I tried using tkiz3d and the draw command but I just got a swirly thing that couldn't be ...
3
votes
1answer
186 views

Thomson Ring PSTricks

Explaining the Thomson's ring experiment, I used Thomas Söll's template. It's necessary to draw vectors symbolizing the current and the magnetic field.Therefore, I used psline as the package pst-...
1
vote
2answers
321 views

Draw 2D/3D-Coil with Pstricks

I would like to draw the following picture using PSTricks. Whats the best way to realize the solid and dashed lines looking like a coil? So far, I tried Herbert's link, but using pst-solides3d leads ...
2
votes
2answers
324 views

Customize the options of \pscircle

Consider the follwoing code \documentclass{beamer} \usetheme{Madrid} \usecolortheme{beaver} \setbeamercolor{section in head/foot}{bg=gray!10!white, fg=gray!10!white} \setbeamercolor{palette ...
0
votes
1answer
111 views

Graphicx not showing with XeLatex

I have problems with XeLaTeX and pst-coil. If I want to draw a graph, it works when compiling with latex+dvips+ps2pdf+see pdf. If I compile using Xelatex, there is nothing drawn in the pspicture. Here ...
6
votes
2answers
833 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 ...
4
votes
2answers
219 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 \documentclass[...
4
votes
1answer
2k 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\...
10
votes
2answers
625 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 #...