aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-27 16:17:30 +0100
committerAdrian Kummerlaender2019-01-27 16:17:30 +0100
commitb8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9 (patch)
tree48452b39a00f825ff3c43e1c633dd12e84f2c445
parent26ee480bc4729d3d8269fa48910990d4a50e5d2e (diff)
downloadgrid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.tar
grid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.tar.gz
grid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.tar.bz2
grid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.tar.lz
grid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.tar.xz
grid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.tar.zst
grid_refinement_bsc_thesis-b8539a80b65e8e14f5bfa4f2d0d6b4ca22e44bc9.zip
Average refined error norms
-rw-r--r--img/poiseuille2d_error_comparison.tikz47
1 files changed, 15 insertions, 32 deletions
diff --git a/img/poiseuille2d_error_comparison.tikz b/img/poiseuille2d_error_comparison.tikz
index d9b63e2..adde6c3 100644
--- a/img/poiseuille2d_error_comparison.tikz
+++ b/img/poiseuille2d_error_comparison.tikz
@@ -1,9 +1,9 @@
\begin{tikzpicture}
\begin{axis}[
scale only axis,
- height=6.5cm,
- width=0.7*\textwidth,
- symbolic x coords={\texttt{uN10},\texttt{uN20},\texttt{vN10A},\texttt{vN20A},\texttt{vN10B},\texttt{vN20B}},
+ height=8cm,
+ width=0.6*\textwidth,
+ symbolic x coords={\texttt{uN10},\texttt{uN20},\texttt{vN10A},\texttt{vN10B}},
xtick=data,
ylabel=L2-genormter Fehler,
ymode=log,
@@ -11,25 +11,22 @@
y tick label style={/pgf/number format/sci},
ybar=5pt,
bar width=9pt,
- legend cell align={left}
+ legend cell align={left},
+ legend pos=north west
]
\addplot coordinates {
(\texttt{uN10},1.88337e-3)
(\texttt{uN20},1.16253e-3)
-(\texttt{vN10A},1.00761e-2)
-(\texttt{vN20A},1.02424e-2)
-(\texttt{vN10B},1.77561e-3)
-(\texttt{vN20B},2.04335e-3)
+(\texttt{vN10A},1.015925e-2)
+(\texttt{vN10B},1.90948e-3)
};
\addplot coordinates {
(\texttt{uN10},3.11534e-3)
(\texttt{uN20},2.27404e-3)
-(\texttt{vN10A},2.71447e-2)
-(\texttt{vN20A},2.07924e-2)
-(\texttt{vN10B},3.11244e-3)
-(\texttt{vN20B},3.39432e-3)
+(\texttt{vN10A},2.396855e-2)
+(\texttt{vN10B},3.25338e-3)
};
\legend{Geschwindigkeit,Druck}
@@ -44,45 +41,31 @@
\texttt{uN10}
& \begin{tikzpicture}
-\draw[fill=gray!20!white] (0,0) rectangle (4,1) node[pos=.5] {\(11 \times 41\)};
+\draw (0,0) rectangle (4,1) node[pos=.5] {\(11 \times 41\)};
\end{tikzpicture}
& 1.88337e-3 & 3.11534e-3 \\
\hline \\[-1.75ex]
\texttt{uN20}
& \begin{tikzpicture}
-\draw[fill=gray!20!white] (0,0) rectangle (4,1) node[pos=.5] {\(21 \times 81\)};
+\draw (0,0) rectangle (4,1) node[pos=.5] {\(21 \times 81\)};
\end{tikzpicture}
& 1.16253e-3 & 2.27404e-3 \\
\hline \\[-1.75ex]
\texttt{vN10A}
& \begin{tikzpicture}
-\draw[fill=gray!20!white] (0,0) rectangle (2,1) node[pos=.5] {\(11 \times 21\)};
-\draw (2,0) rectangle (4,1) node[pos=.5] {\(21 \times 43\)};
-\end{tikzpicture}
-& 1.00761e-2 & 2.71447e-2 \\
-\texttt{vN20A}
-& \begin{tikzpicture}
\draw (0,0) rectangle (2,1) node[pos=.5] {\(11 \times 21\)};
-\draw[fill=gray!20!white] (2,0) rectangle (4,1) node[pos=.5] {\(21 \times 43\)};
+\draw (2,0) rectangle (4,1) node[pos=.5] {\(21 \times 43\)};
\end{tikzpicture}
-& 1.02424e-2 & 2.07924e-2 \\
+& 1.015925e-2 & 2.396855e-2 \\
\hline \\[-1.75ex]
\texttt{vN10B}
& \begin{tikzpicture}
-\draw[fill=gray!20!white] (0,0) rectangle (4,1);
-\draw[gray!20!white,text=black] (0,0) rectangle (2,1) node[pos=0.5] {\(11 \times 41\)};
-\draw (0,0) rectangle (4,1);
-\draw[fill=white,text=black] (2,0.1) rectangle (3.9,0.9) node[pos=.5] {\(17 \times 41\)};
-\end{tikzpicture}
-& 1.77561e-3 & 3.11244e-3 \\
-\texttt{vN20B}
-& \begin{tikzpicture}
\draw[white,text=black] (0,0) rectangle (2,1) node[pos=0.5] {\(11 \times 41\)};
\draw (0,0) rectangle (4,1);
-\draw[fill=gray!20!white,text=black] (2,0.1) rectangle (3.9,0.9) node[pos=.5] {\(17 \times 41\)};
+\draw (2,0.1) rectangle (3.9,0.9) node[pos=.5] {\(17 \times 41\)};
\end{tikzpicture}
-& 2.04335e-3 & 3.39432e-3 \\
+& 1.90948e-3 & 3.25338e-3 \\
\end{tabular}