Page MenuHomec4science

damping.tex
No OneTemporary

File Metadata

Created
Tue, Nov 19, 14:12

damping.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 18cm,
width = 10cm,
xlabel={temps [\si{\second}]},
xmin = 5, xmax = 46,
legend style =
{
at = {(0.95, 0.95)},
anchor = north east
},
%cycle list name = color,
grid style = dashed,
ymajorgrids = true,
minor x tick num = 4,
%minor y tick num = 4,
clip mode = individual
}
\begin{axis}
[
ylabel={Déplacement angulaire $\theta$},
ymin = -1.5, ymax = 1.5
]
\addplot
[
color = blue,
mark = x,
mark options = {
draw = blue,
fill = none,
scale = 0.5
},
smooth,
on layer = background
]
gnuplot [raw gnuplot] {
plot "outs/lambda_demo.dat" using 1:2;
};
\addlegendentry{Donnés}
\addplot
[
color = red,
mark = *,
mark options = {
draw = red,
fill = red,
%scale = 1
},
only marks,
on layer = main
]
gnuplot [raw gnuplot] {
plot "outs/lambda_demo.dat" using 3:4;
};
\addlegendentry{Pics détectés}
\addplot
[
mark = none,
color = brown,
domain = 5:45,
on layer = foreground
] {-0.1649 + 1.9682 * exp(-0.055 * x)};
\addlegendentry{Fit: $\lambda = 0.06$ \si{1/\second}}
\end{axis}
\end{tikzpicture}

Event Timeline