Page MenuHomec4science

traj.tex
No OneTemporary

File Metadata

Created
Sun, Dec 22, 09:46

traj.tex

\begin{tikzpicture}
\pgfplotsset
{
xmin = -2e7, xmax = 4e8,
width = 10cm,
ymajorgrids = true,
grid style = dashed,
legend style = {
matrix anchor = north west,
at = {(0.05, 0.95)}
}
}
\begin{axis}
[
%title = {Étude sur la composante $y$},
xlabel={$x$ [\si{\metre}]},
ylabel={$y$ [\si{\metre}]},
ymin= -5e7, ymax= 1.6e8,
]
\addplot
[
mark = x,
smooth,
color = violet,
%only marks,
mark options = {
draw = violet,
fill = none
}
]
gnuplot [raw gnuplot] {
plot "outs/ex4/amax/traj.dat" using 2:3 every 2;
};
\addlegendentry{Apollo 13}
\addplot
[
mark = +,
%smooth,
color = brown,
only marks,
mark options = {
draw = brown,
fill = none
}
]
gnuplot [raw gnuplot] {
plot "outs/ex4/amax/traj.dat" using 6:7 every 10;
};
\addlegendentry{Terre}
\addplot
[
mark = x,
%smooth,
color = cyan,
only marks,
mark options = {
draw = cyan,
fill = none
}
]
gnuplot [raw gnuplot] {
plot "outs/ex4/amax/traj.dat" using 10:11;
};
\addlegendentry{Lune}
\end{axis}
\end{tikzpicture}

Event Timeline