Page MenuHomec4science

middles.tex
No OneTemporary

File Metadata

Created
Tue, Nov 19, 14:57

middles.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.95)},
anchor = north east,
%nodes={scale=0.8, transform shape}
}
%cycle list name = color,
}
\begin{axis}
[
ylabel={$\langle x \rangle$},
ymin = -200, ymax = 200,
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.2
},
only marks
]
gnuplot [raw gnuplot] {
plot "outs/detect_state.dat" using 1:5 every 3;
};
\end{axis}
\begin{axis}
[
ylabel={$\langle p \rangle$},
ymin = -0.205, ymax = 0.205,
axis y line*= right,
axis x line= none,
every y tick label/.append style = {red}
]
\addlegendimage{blue, mark = x}
\addlegendentry{$\langle x \rangle$}
\addlegendimage{red, mark = +}
\addlegendentry{$\langle 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:8 every 3;
};
\end{axis}
\end{tikzpicture}

Event Timeline