Linked Questions

20
votes
2answers
21k views

Labeling rectangle above rectangle

This is perhaps a simple question, but after reading manual several times, I still don't have the answer. My common situation is that I draw boxes and I want label above/below the box. If I use node[...
15
votes
2answers
4k views

Custom shapes in TikZ

I am trying to define a new shape in TikZ following the instructions of section 75.5 of the manual. Reading the question Drawing mechanical systems in LaTeX, I started to think that a "mechanical" ...
14
votes
2answers
11k views

Squiggly arrows in tikz

Is it possible to get a path in tikz that looks like \rightsquigarrow?
11
votes
2answers
2k views

A Mechanical System in Tikz

I am trying to draw an image similar to those in this thread: Mechanical Systems in LaTeX If you look at Jake's answer though, I want to modify it a little... \begin{tikzpicture}[] \...
14
votes
2answers
1k views

Decorating a path's edge with a hatch pattern in TikZ

Problem I would like to indicate an infeasible region in one of my pgfplots by manually drawing a path in the canvas. This should be a hatched pattern that is decorated on the path, something like ...
5
votes
1answer
6k views

Drawing mechanical systems using TikZ

This is a follow-up question to Drawing Mechanical Systems in LaTeX. I have tried to do similar things, i.e. to model simple mechanical systems. For example: \begin{tikzpicture}[M1/.style={rectangle,...
7
votes
2answers
2k views

There is a more compact way for drawing this quarter-car model?

I have written this code: \documentclass[tikz,border=10pt]{standalone} \usepackage{tikz} \begin{document} \pagestyle{empty} \begin{tikzpicture} % Sprung mass \shade[top color=gray, bottom ...
2
votes
1answer
6k views

Mechnical drawing, Tikz, damper + spring + 2 masses

I have the following tikz code which I based on https://tex.stackexchange.com/a/13952/15360. Now I want to have the spring, the damper and the 3 arrows have labels. Like for example, F for force and k ...
4
votes
1answer
3k views

text above arrow in question “drawing-mechanical-systems-in-latex”?

With reference to the first answer in this: Drawing Mechanical Systems in LaTeX I want the text x above the arrow, simple as that, also how can I control how high above the arrow it is? So I tried ...
6
votes
1answer
2k views

How to draw a quarter car model in LaTex? Which is basically a two masses and spring system

This is the code that i have been able to write up but i would like to make it better and label the springs and dampers and draw the ground. Also i need to draw the direction of the motion which would ...
2
votes
2answers
1k views

How to make curved springs (coils) in tikz, for a mechanics problem

Is there anyway using say tikz (preferred, or pstricks would be OK too) to make curved coils? Essentially I want to make beads on a circular wire that are joined by springs. Here are the images I ...
2
votes
2answers
1k views

Drawing Mechanical System with springs in tikz

I need help drawing the following systems in Latex for a paper. I am no tikz expert so it is beyond my capabilities at the moment. Any help is appreciated. This is how far I managed with the help ...
0
votes
1answer
963 views

How can I draw a diagram of forces figure like following?

I want to draw figure as following pic for LATEX. Which program do you suggest me to draw like the following figure? Thank you.
3
votes
1answer
1k views

How to draw spring damper system in TikZ?

I am trying to reproduce this element: I am using these styles: \usetikzlibrary{arrows.meta, bending, calc, chains, positioning, shapes,patterns,decorations.pathmorphing,...
7
votes
1answer
1k views

How to shade a line and how to offset a line?

Newbie here. Could anyone tell me how to (1) shade a line and (2) how to offset a line? I have a very simple graph, This is a mesh used in finite element analysis, I have already used tikz to build ...

15 30 50 per page