Page MenuHomec4science

deltas.tex
No OneTemporary

File Metadata

Created
Tue, Nov 19, 16:40

deltas.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 18cm,
width = 10cm,
xlabel={$t$},
xmin = 0, xmax = 5000,
%title = {Aluminium},
legend style =
{
at = {(0.95, 0.05)},
anchor = south east,
%nodes={scale=0.8, transform shape}
}
%cycle list name = color,
}
\begin{axis}
[
ylabel={$\langle \Delta x \rangle$},
ymin = 10, ymax = 100,
axis y line*= left,
grid style = dashed,
ymajorgrids = true,
every y tick label/.append style = {blue}
]
\addplot+
[
color = blue,
%smooth,
mark = x,
%mark = none,
mark options = {
draw = blue,
fill = none,
scale = 0.1
},
only marks
]
gnuplot [raw gnuplot] {
plot "outs/detect_state.dat" using 1:7 every 5;
};
\end{axis}
\begin{axis}
[
ylabel={$\langle \Delta p \rangle$},
ymin = 0.02, ymax = 0.16,
axis y line*= right,
axis x line= none,
every y tick label/.append style = {red}
]
\addlegendimage{blue, mark = x}
\addlegendentry{$\langle \Delta x \rangle$}
\addlegendimage{red, mark = +}
\addlegendentry{$\langle \Delta p \rangle$}
\addplot
[
color = red,
%smooth,
mark = +,
%mark = none,
mark options = {
draw = red,
fill = none,
scale = 0.1
},
only marks
]
gnuplot [raw gnuplot] {
plot "outs/detect_state.dat" using 1:10 every 5;
};
\end{axis}
\end{tikzpicture}

Event Timeline