Page MenuHomec4science

traj.tex
No OneTemporary

File Metadata

Created
Sun, Dec 22, 09:42

traj.tex

\begin{tikzpicture}
\pgfplotsset
{
xmin = -5e7, xmax = 3.5e8,
width = 10cm,
ymajorgrids = true,
grid style = dashed,
legend style = {
matrix anchor = north east,
at = {(0.95, 0.95)}
}
}
\begin{axis}
[
%title = {Étude sur la composante $y$},
xlabel={$x$ [\si{\metre}]},
ylabel={$y$ [\si{\metre}]},
ymin= -3e7, ymax= 5e7,
]
\addplot
[
mark = x,
smooth,
color = red,
%only marks,
mark options = {
draw = red,
fill = none
}
]
gnuplot [raw gnuplot] {
plot "outs/ex1/traj.dat" using 2:3;
};
\addlegendentry{Apollo 13}
\addplot
[
mark = none,
smooth,
color = blue,
%only marks,
%mark options = {
% draw = blue,
% fill = none
%}
]
gnuplot [raw gnuplot] {
plot "outs/earth.dat" using 1:2;
};
\addlegendentry{Surface terrestre}
\end{axis}
\end{tikzpicture}

Event Timeline