From 5f92c1dbea7532068edadbc64b1fcebecd6931f8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 20 Feb 2019 11:27:40 +0100 Subject: Localize decimal numbers --- img/cylinder2d_high_res_comparsion.tikz | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'img/cylinder2d_high_res_comparsion.tikz') diff --git a/img/cylinder2d_high_res_comparsion.tikz b/img/cylinder2d_high_res_comparsion.tikz index aa8b2a7..9bde49b 100644 --- a/img/cylinder2d_high_res_comparsion.tikz +++ b/img/cylinder2d_high_res_comparsion.tikz @@ -1,6 +1,7 @@ \begin{tikzpicture} \pgfplotstableread[col sep=comma]{img/data/cylinder2d_optimized_refinement_n40_re100_drag_lift_deltap.csv}\refined -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n40_re100_drag_lift_deltap.csv}\uniformVeryHigh +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n40_re100_drag_lift_deltap.csv}\uniformHigh +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n80_re100_drag_lift_deltap.csv}\uniformVeryHigh \pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n160_re100_drag_lift_deltap.csv}\uniformVeryVeryHigh \begin{axis}[ @@ -15,11 +16,13 @@ ylabel={Widerstandskoeffizient}, ylabel absolute, every axis y label/.append style={yshift=0.4cm} ] + \addplot[thick,color=black]{3.23}; -\addlegendentry {\(\widehat{c_w} := 3.23\)}; +\addlegendentry {\(\widehat{c_w} := \num[round-mode=off]{3.23}\)}; \addplot[color=blue!50!white,thin ] table [x expr=\thisrow{time}, y=drag] {\uniformVeryVeryHigh}; \addplot[color=red!50!white,thin ] table [x expr=\thisrow{time}, y=drag] {\uniformVeryHigh}; \addplot[color=green!70!black,thin] table [x expr=8*\thisrow{time}, y=drag] {\refined}; + \end{axis} \begin{axis}[ @@ -35,11 +38,13 @@ ylabel={Auftriebskoeffizient}, ylabel absolute, every axis y label/.append style={yshift=0.4cm} ] + \addplot[thick,color=black]{1.0}; \addlegendentry {\(\widehat{c_a} := 1\)}; \addplot[color=blue!50!white,thin ] table [x expr=\thisrow{time}, y=lift] {\uniformVeryVeryHigh}; \addplot[color=red!50!white,thin ] table [x expr=\thisrow{time}, y=lift] {\uniformVeryHigh}; \addplot[color=green!70!black,thin] table [x expr=8*\thisrow{time}, y=lift] {\refined}; + \end{axis} \begin{axis}[ @@ -58,14 +63,16 @@ y unit=N/m^2, ylabel absolute, every axis y label/.append style={yshift=0.4cm} ] + +\addplot[thick,color=black]{2.48}; +\addlegendentry {\(\Delta P := \num[round-mode=off]{2.48}\)}; \addplot[color=blue!50!white,thin ] table [x expr=\thisrow{time}, y=deltap] {\uniformVeryVeryHigh}; -\addlegendentry {Uniformes \(N=160\) Gitter mit 2298014 Knoten}; +\addlegendentry {Uniformes \(N=160\) Gitter mit \(\sim 2300000\) Knoten}; \addplot[color=red!50!white,thin ] table [x expr=\thisrow{time}, y=deltap] {\uniformVeryHigh}; -\addlegendentry {Uniformes \(N=40\) Gitter mit 576758 Knoten}; +\addlegendentry {Uniformes \(N=80\) Gitter mit \(\sim 577000\) Knoten}; \addplot[color=green!70!black,thin] table [x expr=8*\thisrow{time}, y=deltap] {\refined}; -\addlegendentry {Verfeinertes \(N=40\) Gitter mit 787592 Knoten}; -\addplot[thick,color=black]{2.48}; -\addlegendentry {\(\Delta P := 2.48\)}; +\addlegendentry {Verfeinertes \(N=40\) Gitter mit \(\sim 790000\) Knoten}; + \end{axis} \end{tikzpicture} -- cgit v1.2.3