Questions tagged [pst-coil]
Drawing Coils or zig zags between two points.
13
questions
0
votes
3
answers
87
views
Adding two coil paths together in tikz
I have two coils, which I make with code from here
I want to add the coils together, like cos(x) + cos(2x), to get a new one. But I am not sure this is even possible with how I made them. Can it be ...
5
votes
2
answers
117
views
How to draw coil with varying compression
I am trying to a draw a coil with varying compression, along the lines of the image below (not mine).
I considered just drawing two different coils with different compressions next to each other
\...
1
vote
2
answers
553
views
TikZ coil with extending, perpendicular start and end
The goal is to try and draw a coil with a rectangular bend at its start and end, all in one path/draw command, like this:
The coil itself is a horizontal path, and the endings go down vertically from ...
4
votes
1
answer
1k
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
2
answers
231
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
1
answer
493
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
2
answers
562
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
2
answers
772
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
1
answer
208
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
2
answers
1k
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
2
answers
288
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
1
answer
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
2
answers
685
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 #...