aboutsummaryrefslogtreecommitdiff
path: root/img/massloss_interpolation_plot.tikz
blob: 4cc8e5d82537ee3a31f5ef47df31845c73edafcb (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
\begin{tikzpicture}
\begin{axis}[
	scale only axis,
	height=9cm,
	width=0.9*\textwidth,
	mark size=0,
	line width=0.2pt,
	legend pos=south west
]

\addplot table[
	x=x, y=cubic,
	col sep=semicolon,
	/pgf/number format/read comma as period
]{img/data/poiseuille2d_bisected_re100_both.csv};
\addlegendentry{Druckverlauf bei Interpolation mit (\ref{eq:ipol4ord})};

\addplot table[
	x=x, y=linear,
	col sep=semicolon,
	/pgf/number format/read comma as period
]{img/data/poiseuille2d_bisected_re100_both.csv};
\draw [dotted] (axis cs:1.9,1.35) rectangle (axis cs:2.09,1.45);
\addlegendentry{Druckverlauf bei Interpolation mit (\ref{eq:ipol2ord})};
\end{axis}

\begin{axis}[
	yshift=4.5cm,
	xshift=9cm,
	scale only axis,
	height=3cm,
	width=4cm,
	mark size=0,
	line width=0.2pt,
	ticks=none,
	xticklabels={,},
	title=Übergangsbereich
]

\addplot table[
	x=x, y=cubic,
	col sep=semicolon,
	/pgf/number format/read comma as period
]{img/data/poiseuille2d_bisected_re100_detail.csv};

\addplot table[
	x=x, y=linear,
	col sep=semicolon,
	/pgf/number format/read comma as period
]{img/data/poiseuille2d_bisected_re100_detail.csv};
\draw [dashed,gray] (axis cs:1.98,\pgfkeysvalueof{/pgfplots/ymin}) -- (axis cs:1.98,\pgfkeysvalueof{/pgfplots/ymax});
\draw [dashed,gray] (axis cs:2.00,\pgfkeysvalueof{/pgfplots/ymin}) -- (axis cs:2.00,\pgfkeysvalueof{/pgfplots/ymax});
\end{axis}
\end{tikzpicture}