# Angle between two vectors and a plane in TiKz

I'm stuck to do the following figure in TiKz. How to span a plane and plot the shown angles? Thanks a ton in advance!

• where you stuck? what you try so far? Nov 9, 2018 at 20:16
• Please make a minimal working example (MWE) of what you have got so far. Nov 9, 2018 at 20:22

## 1 Answer

This is straightforward with the tikz-3dplot package, and everything I am using here is illustrated with an example in the manual.

\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\begin{tikzpicture}[font=\sffamily]
\tdplotsetmaincoords{70}{210}
\begin{scope}[tdplot_main_coords]
\draw[-latex] (0,0,0) -- (4,0,0) node[pos=1.1] {$x$};
\draw[-latex] (0,0,0) -- (0,4,0) node[pos=1.1] {$y$};
\draw[-latex] (0,0,0) -- (0,0,4) node[pos=1.1] {$z$};
\draw (2,0,0) -- (2,-5,0) -- node[pos=0.05,above right,sloped]{Leading edge}
(-2,-5,0) -- (-2,0,0) --
node[pos=0.5,below right,sloped]{Trailing edge}
cycle;
\draw[dashed] (0,0,0) -- (1,0,4) -- (1,3,4) coordinate (O)
-- (0,3,0) coordinate (A) -- (2,3,0) coordinate (B);
\draw[-latex] (0,0,0) -- (O) node[pos=1.03,circle,inner sep=1pt,fill,label=above left:$O$]{};
%
\tdplotdefinepoints(0,0,0)(0,2,0)(1,3,4)
\tdplotdrawpolytopearc[thick,-latex]{1.5}{anchor=west}{$\theta_e$}
%
\tdplotdefinepoints(0,3,0)(2,3,0)(1,3,4)
\tdplotdrawpolytopearc[dashed,-latex]{1.5}{anchor=west}{$\psi_e$}
%
\draw[latex-] (-1.5,-2.5,0) -- ++ (-1,0,0) node[right]{Blade};
\draw[latex-] (-1.5,-5,0) -- ++ (0,-1,0);
\path (-1.5,-6,0) -- ++ (0,-2,0) node[pos=0.4,sloped]{Flow};
\end{scope}
\end{tikzpicture}
\end{document}


• Totally forgot! Accepted and voted Nov 14, 2018 at 20:42