https://github.com/lijieumn/argus-distribution
Tip revision: 866bd38a0b1caa7560e66ecae5e19b65b49558a5 authored by Jie Li on 04 August 2019, 17:48:21 UTC
Merge pull request #4 from AymericFerreira/master
Merge pull request #4 from AymericFerreira/master
Tip revision: 866bd38
fig_5.tex
\documentclass[tikz]{standalone}
\usepackage{libertine}
\usepackage{pgfplots}
\usepgfplotslibrary{statistics}
\begin{document}
% \begin{tabular}{cc}
\begin{tikzpicture}[scale=.5]
\begin{axis}[
xlabel = {\large time},
ylabel = {\large Magnitude of velocity},
]
\addplot[color=blue] table [x=t, y=v] {output/figures/fig_5/mass_center_analytical.txt};
\addlegendentry{\large analytical}
\addplot[color=red] table [x=t, y=v] {output/figures/fig_5/mass_center_simulated.txt};
\addlegendentry{\large simulated}
\end{axis}
\end{tikzpicture}
% &
\begin{tikzpicture}[scale=.5]
\begin{axis}[
xlabel = {\large time},
ylabel = {\large Relative height},
]
\addplot[color=blue] table [x=t, y=h] {output/figures/fig_5/mass_center_analytical.txt};
\addlegendentry{\large analytical}
\addplot[color=red] table [x=t, y=h] {output/figures/fig_5/mass_center_simulated.txt};
\addlegendentry{\large simulated}
\end{axis}
\end{tikzpicture}
% \end{tabular}
\end{document}
