diff options
Use pgfplot units
-rw-r--r-- | img/cylinder2d_deltap_comparison.tikz | 6 | ||||
-rw-r--r-- | img/cylinder2d_drag_comparison.tikz | 6 | ||||
-rw-r--r-- | img/cylinder2d_lift_comparison.tikz | 6 | ||||
-rw-r--r-- | img/massloss_interpolation_plot.tikz | 6 | ||||
-rw-r--r-- | main.tex | 3 |
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[ @@ -46,6 +46,9 @@ \usepgfplotslibrary{external} \pgfplotsset{compat=1.16} \usepgfplotslibrary{colorbrewer} +\usepgfplotslibrary{units} + +\usetikzlibrary{pgfplots.units} \tikzexternalize[prefix=tikzcache/] |