aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-02-06 18:39:48 +0100
committerAdrian Kummerlaender2019-02-06 18:39:48 +0100
commit1ea7cb769b95fde177ae06cf2ed99b49afb5d7da (patch)
treebdd393daf87eea7b8d0965b953a5e6390cebb3cd
parent90fa82533991c68396e5932a85cbaeec200adc60 (diff)
downloadgrid_refinement_bsc_thesis-1ea7cb769b95fde177ae06cf2ed99b49afb5d7da.tar
grid_refinement_bsc_thesis-1ea7cb769b95fde177ae06cf2ed99b49afb5d7da.tar.gz
grid_refinement_bsc_thesis-1ea7cb769b95fde177ae06cf2ed99b49afb5d7da.tar.bz2
grid_refinement_bsc_thesis-1ea7cb769b95fde177ae06cf2ed99b49afb5d7da.tar.xz
grid_refinement_bsc_thesis-1ea7cb769b95fde177ae06cf2ed99b49afb5d7da.zip
Use pgfplot units
-rw-r--r--img/cylinder2d_deltap_comparison.tikz6
-rw-r--r--img/cylinder2d_drag_comparison.tikz6
-rw-r--r--img/cylinder2d_lift_comparison.tikz6
-rw-r--r--img/massloss_interpolation_plot.tikz6
-rw-r--r--main.tex3
5 files changed, 19 insertions, 8 deletions
diff --git a/img/cylinder2d_deltap_comparison.tikz b/img/cylinder2d_deltap_comparison.tikz
index a8662d1..2631bc4 100644
--- a/img/cylinder2d_deltap_comparison.tikz
+++ b/img/cylinder2d_deltap_comparison.tikz
@@ -11,8 +11,10 @@
grid=both,
domain=0:16,
xmin=0, xmax=16,
- xlabel={Simulierte physikalische Zeit in Sekunden},
- ylabel={Druckdifferenz}
+ xlabel={Simulierte physikalische Zeit},
+ ylabel={Druckdifferenz},
+ x unit=s,
+ y unit=N/m^2
]
\addplot[
diff --git a/img/cylinder2d_drag_comparison.tikz b/img/cylinder2d_drag_comparison.tikz
index df9c88f..7f4bbe8 100644
--- a/img/cylinder2d_drag_comparison.tikz
+++ b/img/cylinder2d_drag_comparison.tikz
@@ -11,8 +11,10 @@
grid=both,
domain=0:16,
xmin=0, xmax=16,
- xlabel={Simulierte physikalische Zeit in Sekunden},
- ylabel={Widerstandskraft}
+ xlabel={Simulierte physikalische Zeit},
+ ylabel={Widerstandskraft},
+ x unit=s,
+ y unit=N
]
\addplot[
diff --git a/img/cylinder2d_lift_comparison.tikz b/img/cylinder2d_lift_comparison.tikz
index 8bdc295..7a87607 100644
--- a/img/cylinder2d_lift_comparison.tikz
+++ b/img/cylinder2d_lift_comparison.tikz
@@ -11,8 +11,10 @@
grid=both,
domain=0:16,
xmin=0, xmax=16,
- xlabel={Simulierte physikalische Zeit in Sekunden},
- ylabel={Auftriebskraft}
+ xlabel={Simulierte physikalische Zeit},
+ ylabel={Auftriebskraft},
+ x unit=s,
+ y unit=N
]
\addplot[
diff --git a/img/massloss_interpolation_plot.tikz b/img/massloss_interpolation_plot.tikz
index 69da09d..501f553 100644
--- a/img/massloss_interpolation_plot.tikz
+++ b/img/massloss_interpolation_plot.tikz
@@ -6,8 +6,10 @@
mark size=0,
line width=0.5pt,
legend pos=south west,
- xlabel=Horizontale Kanalposition (\(m\)),
- ylabel=Druck (\(N/m^2\))
+ xlabel=Horizontale Kanalposition,
+ ylabel=Druck,
+ y unit=N/m^2,
+ x unit=m
]
\addplot table[
diff --git a/main.tex b/main.tex
index cc720b1..6ae74c4 100644
--- a/main.tex
+++ b/main.tex
@@ -46,6 +46,9 @@
\usepgfplotslibrary{external}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{colorbrewer}
+\usepgfplotslibrary{units}
+
+\usetikzlibrary{pgfplots.units}
\tikzexternalize[prefix=tikzcache/]