Graphics, Figures & Tables ⇒ drawing with tikz
drawing with tikz
Please can someone help me to draw the attached figure?
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- 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:
Code: Select all
Code, edit and compile here:
\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}