forked from miloyip/light2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vector_fresnel.tex
26 lines (26 loc) · 995 Bytes
/
vector_fresnel.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows,angles,quotes,calc,decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}[>=triangle 45,line width=1.6pt,scale=1.5,font=\fontsize{15pt}{0}]
\coordinate (O) at (0,0);
\coordinate (V) at (-2.5,2);
\coordinate (R) at (2.5,2);
\coordinate (T) at (2,-2.5);
\coordinate (N) at (0, 3);
\fill[blue!10] (-4,0) rectangle (4,4);
\fill[blue!40] (-4,0) rectangle (4,-4);
\draw[line width=0.5pt] (-4, 0) -- (4, 0);
\draw[->, style=dashed] (0, -3) -- (N) node[anchor=south] {$\hat{\mathbf{n}}$};
\draw[->] (V) -- (O);
\draw[->] (O) -- (R);
\draw[->] (O) -- (T);
\draw (0,0.5) arc (90:140:0.5);
\draw (0,-0.5) arc (270:310:0.5);
\node[] at (115:0.8) {$\theta_{i}$};
\node[] at (290:0.8) {$\theta_{t}$};
\node[anchor=south] at (-3.5, 0) {$\eta_1$};
\node[anchor=north] at (-3.5, 0) {$\eta_2$};
\node[anchor=south west] at (R) {$R$};
\node[anchor=north] at (T) {$1 - R$};
\end{tikzpicture}
\end{document}