20 lines
870 B
TeX
20 lines
870 B
TeX
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
|
\documentclass{standalone}
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{shapes,arrows,chains, angles, quotes}
|
|
\begin{document}
|
|
\begin{tikzpicture}[>=triangle 60,font=\sffamily]
|
|
\definecolor{myblue}{HTML}{2B86C0}
|
|
\definecolor{myred}{HTML}{C14400}
|
|
\definecolor{myyellow}{HTML}{FFE981}
|
|
\coordinate (a) at (0,0);
|
|
\coordinate (b) at (3,0);
|
|
\coordinate (c) at (2.8,2.5);
|
|
\draw[->, black] (a) -- (b) node [anchor = north, xshift = -25, yshift = -3] {$\vec{v}_1$};;
|
|
\draw[->, black] (c) -- (b) node [anchor = west, xshift = 0, yshift = 25] {$\vec{v}_2(\vartheta, \varphi)$};
|
|
\draw[->, myred] (c) -- (a) node [anchor = south , xshift = 15, yshift = 25] {$\vec{v}_\mathrm{lab}$};
|
|
\draw pic[ myblue, "$\vartheta$", draw=myblue, <-, angle eccentricity=1.2, angle radius=0.8cm]
|
|
{angle=c--b--a} ;
|
|
|
|
\end{tikzpicture}
|
|
\end{document} |