Linked Questions

3
votes
0answers
763 views

Illustrating Hooke's law with TikZ [duplicate]

Possible Duplicate: Draw mechanical springs in TikZ I'm trying to draw a nice looking spring to demonstrate Hooke's law. Essentially something which would have the following: One spring at the ...
37
votes
2answers
3k views

How to draw a coil such that you can see if it's right or left handed?

If I draw a coil in tikz I usually do something like this: \documentclass[tikz]{standalone} \usetikzlibrary{decorations.pathmorphing,patterns} \begin{document} \begin{tikzpicture} \draw[decoration={...
22
votes
1answer
6k views

Nicer wavy line with TikZ

My question is inspired by Feynman Diagrams with tikz. The photon line (TikZ snake) in the answer does not look like it usually looks on a Feynman diagram: in the "reference" look, which may be ...
14
votes
1answer
4k views

tikzpicture of several springs

I'm trying to reproduce in like the following picture: Actually I would like to slightly modifies it as I would like all the spring to be connected to a common wall at the top. I have begin it with ...
10
votes
1answer
2k views

Appending a line (of fixed length) to a spring drawn with tikz coil

Looking at the nice answer here: Draw mechanical springs in TikZ, I would like to attach a line of fixed length (say 5mm) to the top of the spring (to the platform) and bottom of the spring (to the ...
4
votes
2answers
708 views

How can I draw this diagram of my function's domain?

How can I do this? I do not know how to do this. Is it possible to do it in LaTeX or should I create a figure with GeoGebra and insert it?
10
votes
2answers
664 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 #...
6
votes
2answers
886 views

TikZ-Spring Symbol

I would like to insert the symbol of a mechanical spring in a node done with TikZ. This is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows,calc,...
7
votes
2answers
702 views

How to save the current color in PGF/TikZ?

In TikZ/PGF, we can obtain the current line width using \pgflinewidth. Unfortunatelly there is no (as far as I know) \pgfstrokecolor, \pgffillcolor, \pgfstrokeopacity and \pgffillopacity. My main ...
5
votes
1answer
832 views

tikz extending spring with constant number of segments

Is there as simple way to create a pdf animation with tikz of an oscillating mass attached to a spring which extends and compresses as the mass oscillates. The number of "spring elements" should be ...
0
votes
1answer
303 views

Could anyone help to draw the picture and give me direction to learn how to do it as well please?

I would like not only to know how to do it but also with any help to point out to me some resources in order to be able to draw any Physics figures out there.
3
votes
1answer
524 views

Test on same shaped with Tikz and PStricks

Following up at my previous question: let operation vs tkz-euclide Could Tikz fans and PStricks respectively give the same shaped, as following, as to see the advantages and disadvantages of each ...
0
votes
1answer
151 views

How can i represent a pendulum on the x-axis of a Cartesian coordinate system

I had started working with the tikz-3dplot and the pgf packages for writing a course of classical mechanic. Can you help me to draw a pendulum on the x axis of a Cartisian coordinate system? I want ...