mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 20:51:12 -06:00
Add TikZ temperature plots
This commit is contained in:
28
book/plots/fig-temperature-ambient.tex
Normal file
28
book/plots/fig-temperature-ambient.tex
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
\begin{tikzpicture}
|
||||||
|
\tikzstyle{every node}+=[font=\normalsize\rmfamily]
|
||||||
|
\begin{axis}[
|
||||||
|
title=Ambient temperatures,
|
||||||
|
grid=both,
|
||||||
|
major grid style={line width=.2pt,draw=gray!30},
|
||||||
|
axis x line=middle,
|
||||||
|
axis y line=middle,
|
||||||
|
xmax=35, xmin=-0.1,
|
||||||
|
ymax=205, ymin=-0.1,
|
||||||
|
every axis y label/.style={%
|
||||||
|
at={(ticklabel cs:0.5)},rotate=90,anchor=near ticklabel},
|
||||||
|
every axis x label/.style={%
|
||||||
|
at={(ticklabel cs:0.5)},anchor=near ticklabel},
|
||||||
|
every axis legend/.append style={%
|
||||||
|
at={(0.9,0.3)}, anchor=south east},
|
||||||
|
legend style={draw=none},
|
||||||
|
legend cell align={left},
|
||||||
|
xlabel=Duration (minutes), ylabel=Temperature (\SI{}{\degree} C)
|
||||||
|
]
|
||||||
|
\addplot [color=redpic,smooth,ultra thick] table {plots/icecube_ambient.table};
|
||||||
|
\addplot [color=codeblack,smooth,ultra thick] table {plots/preheated_ambient.table};
|
||||||
|
\addplot [color=codeblue,smooth,ultra thick] table {plots/non-preheated_ambient.table};
|
||||||
|
\addplot [color=yellowpic,smooth,ultra thick] table {plots/preheated_bottom_ambient.table};
|
||||||
|
\addplot [color=pinkpic,smooth,ultra thick] table {plots/spritzing_ambient.table};
|
||||||
|
\legend{ice cube, pre-heated, non-preheated, pre-heated bottom, spritzing};
|
||||||
|
\end{axis}
|
||||||
|
\end{tikzpicture}
|
||||||
28
book/plots/fig-temperature-surface.tex
Normal file
28
book/plots/fig-temperature-surface.tex
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
\begin{tikzpicture}
|
||||||
|
\tikzstyle{every node}+=[font=\normalsize\rmfamily]
|
||||||
|
\begin{axis}[
|
||||||
|
title=Surface temperatures,
|
||||||
|
grid=both,
|
||||||
|
major grid style={line width=.2pt,draw=gray!30},
|
||||||
|
axis x line=middle,
|
||||||
|
axis y line=middle,
|
||||||
|
xmax=35, xmin=-0.1,
|
||||||
|
ymax=108, ymin=-0.1,
|
||||||
|
every axis y label/.style={%
|
||||||
|
at={(ticklabel cs:0.5)},rotate=90,anchor=near ticklabel},
|
||||||
|
every axis x label/.style={%
|
||||||
|
at={(ticklabel cs:0.5)},anchor=near ticklabel},
|
||||||
|
every axis legend/.append style={%
|
||||||
|
at={(0.9,0.3)}, anchor=south east},
|
||||||
|
legend style={draw=none},
|
||||||
|
legend cell align={left},
|
||||||
|
xlabel=Duration (minutes), ylabel=Temperature (\SI{}{\degree} C)
|
||||||
|
]
|
||||||
|
\addplot [color=redpic,smooth,ultra thick] table {plots/icecube_surface.table};
|
||||||
|
\addplot [color=codeblack,smooth,ultra thick] table {plots/preheated_surface.table};
|
||||||
|
\addplot [color=codeblue,smooth,ultra thick] table {plots/non-preheated_surface.table};
|
||||||
|
\addplot [color=yellowpic,smooth,ultra thick] table {plots/preheated_bottom_surface.table};
|
||||||
|
\addplot [color=pinkpic,smooth,ultra thick] table {plots/spritzing_surface.table};
|
||||||
|
\legend{ice cube, pre-heated, non-preheated, pre-heated bottom, spritzing};
|
||||||
|
\end{axis}
|
||||||
|
\end{tikzpicture}
|
||||||
Reference in New Issue
Block a user