Page MenuHomec4science

convx.tex
No OneTemporary

File Metadata

Created
Sun, Dec 22, 13:42

convx.tex

\begin{tikzpicture}
\pgfplotstableread{conv_study_one.dat}\convstudyone
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
xmin = 0, xmax = 22,
width = \textwidth
%height = 7cm
}
\begin{axis}
[
title = {Étude sur la composante $x$},
xlabel={$dt \: [10^{-5} \; s]$},
ylabel={$x_f \: [mm]$},
ymin=-3.9, ymax= -1.3,
ymajorgrids = true,
grid style = dashed,
legend style = {
matrix anchor = south west,
at = {(0.05, 0.05)}
}
]
\addplot
table [x = dt, y = Exf] {\convstudyone};
\label{exf}
\addlegendentry{Euler}
\addplot
table [x = dt, y = ECxf] {\convstudyone};
\label{ecxf}
\addlegendentry{Euler-Cromer}
\addplot
table [x = dt, y = RKxf] {\convstudyone};
\label{rkxf}
\addlegendentry{Runge-Kutta}
\addplot+[mark = none, domain = 0:22] {-1.4};
\label{thxvalue}
\addlegendentry{Valeur analytique}
\end{axis}
\end{tikzpicture}

Event Timeline