Page MenuHomec4science

convrk.tex
No OneTemporary

File Metadata

Created
Sun, Dec 22, 15:57

convrk.tex

\begin{tikzpicture}
\pgfplotsset
{
title = {Convérgence de {\it Runge-Kutta}},
%xmin = -13, xmax = 3.09104,
xmin = 0, xmax = 22,
legend style = {
matrix anchor = south west,
at = {(0.05, 0.1)}
}
}
\pgfplotstableread{conv_study_two.dat}\convstudytwo
\begin{axis}
[
axis y line*= left,
xlabel={$dt \: [10^{-11} \; s]$},
ylabel={$x_{fin} \: [10^{-4} \; m]$},
%ymin = -7.152377862, ymax = -7.14728231,
ymin=7.83, ymax= 7.87,
ymajorgrids = true,
grid style = dashed,
]
\addplot[smooth, mark = *, blue]
table [x = dt, y = X] {\convstudytwo};
\label{rungex}
\addlegendentry{$X_{fin}$}
\end{axis}
\begin{axis}
[
axis y line*= right,
axis x line= none,
ylabel={$y_{fin} \: [10^{-5} \; m]$},
%ymin = -14.5086, ymax = -10.4143,
ymin=-0.05, ymax= 3,
ymajorgrids = true,
grid style = dashed
]
\addlegendimage{/pgfplots/refstyle=rungex}\addlegendentry{$X_{fin}$}
\addplot[smooth, mark = square*, red]
table [x = dt, y = Y] {\convstudytwo};
\label{rungey}
\addlegendentry{$Y_{fin}$}
\end{axis}
\end{tikzpicture}

Event Timeline