aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/fresnel/images/schale.tex
blob: 577ede4a97f88021d37af34e80cfae114cd9ade7 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
%
% schlange.tex
%
% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
%
\documentclass[tikz]{standalone}
\usepackage{times}
\usepackage{amsmath}
\usepackage{txfonts}
\usepackage[utf8]{inputenc}
\usepackage{graphics}
\usetikzlibrary{arrows,intersections,math,calc}
\usepackage{ifthen}
\begin{document}

\newboolean{showgrid}
\setboolean{showgrid}{false}
\def\breite{4}
\def\hoehe{4}
\def\a{47}
\def\r{3.3}
\def\skala{0.95}

\begin{tikzpicture}[>=latex,thick,scale=\skala]

\begin{scope}[xshift=-7.4cm,yshift=-1.2cm]
	\clip (-3.6,-2.2) rectangle (3.6,5.1);

	\fill[color=blue!20] (0,0)
		-- ({180-\a}:{0.4*\r}) arc ({180-\a}:180:{0.4*\r})
		-- cycle;
	\node[color=blue] at ({180-\a/2}:{0.3*\r}) {$\vartheta$};

	\fill[color=blue!20] (0,{\r/sin(\a)})
		-- ($(0,{\r/sin(\a)})+({270-\a}:{0.3*\r})$)
			arc ({270-\a}:270:{0.3*\r})
		-- cycle;
	\node[color=blue] at ($(0,{\r/sin(\a)})+({270-\a/2}:{0.2*\r})$)
		{$\vartheta$};


	\draw (0,0) circle[radius=\r];
	\draw[->] (0,-3.0) -- (0,5);
	\draw ({-\r-0.2},0) -- ({\r+0.2},0);
	\fill (0,0) circle[radius=0.06];

	\draw (0,0) -- ({180-\a}:\r);
	\node at ({180-\a+3}:{0.65*\r}) [above right] {$1$};

	\draw[color=red,line width=1.4pt]
		({180-\a}:\r) -- (0,{\r/cos(90-\a)});
	\fill[color=red] ({180-\a}:\r) circle[radius=0.08];
	\fill[color=red] (0,{\r/cos(90-\a)}) circle[radius=0.08];
	\node[color=red] at (-1.0,3.7) [left] {$r=\cot\vartheta$};
	\node[color=red] at ({180-\a}:\r) [above left] {$P$};
	\node[color=red] at (0,{\r/sin(\a)}) [right] {$Q$};
\end{scope}

% Povray Bild
\node at (0,0) {\includegraphics[width=7.6cm]{schale.jpg}};

% Gitter
\ifthenelse{\boolean{showgrid}}{
\draw[step=0.1,line width=0.1pt] (-\breite,-\hoehe) grid (\breite, \hoehe);
\draw[step=0.5,line width=0.4pt] (-\breite,-\hoehe) grid (\breite, \hoehe);
\draw                            (-\breite,-\hoehe) grid (\breite, \hoehe);
\fill (0,0) circle[radius=0.05];
}{}

\node[color=red] at (-1.4,1.4) {$r$};
\node[color=red] at (-2.2,-0.2) {$P$};
\node[color=red] at (0,3.3) [right] {$Q$};

\end{tikzpicture}

\end{document}