## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ drawing with tikz

Information and discussion about graphics, figures & tables in LaTeX documents.
Ijuptilk
Posts: 1
Joined: Thu Mar 02, 2023 11:13 pm

### drawing with tikz

Please can someone help me to draw the attached figure?
G1_2D.jpg (26.41 KiB) Viewed 164 times

LaTeXguide.org • LaTeX-Cookbook.net

kaiserkarl13
Posts: 675
Joined: Tue Mar 25, 2008 5:02 pm

### drawing with tikz

I'll let you tinker with it to get it to look how you want, but here's a start:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[->](0,0) -- (3,0) node [below] {$x$};
\draw (3,0) -- (4,0) node [below] {$\theta = 0$};
\draw[->](0,0) -- (0,3) node [left] {$z$};
\draw (0,2) -- ++(4,0) node [above] {$\theta = 0$};
\node [above] at (2,2) {$\pi/2$};
\node [above right] at (0.1,2) {$\theta = 0$};
\foreach \y in {0.1,0.2,...,1.8} {
\draw (0.2,\y) -- ++(0.05,0);
\draw (2,\y) -- ++(0.05,0.05);
\draw (3,\y) -- ++(0,0.05);
}
\foreach \y in {0.5,1.0,1.5}
\draw[->] (1,\y) -- ++(0.5,0);
\node at (1.25,1.75) {$\underline{v}$};
\foreach \x in {0,0.1,...,4} {
\draw (\x,0.1) -- ++(0.05,0);
\draw (\x,1.9) -- ++({16*pi*\x}:0.05);
}
\end{tikzpicture}
\end{document}