diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-12-02 17:50:49 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-12-02 17:51:12 +0100 |
| commit | 30e76420c54823f5b7c8388bdbee59882e44018a (patch) | |
| tree | c661d79a0b966365f06267d0a2981454cc66563a | |
| parent | 4ef2a72585e4031fd40a2832d3506150f569a3ff (diff) | |
| download | tfyy51-30e76420c54823f5b7c8388bdbee59882e44018a.tar.gz | |
Byt ut segmenttidsdiagram
| -rw-r--r-- | Dokument/Teknisk Dokumentation/text/06-resultat.tex | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Dokument/Teknisk Dokumentation/text/06-resultat.tex b/Dokument/Teknisk Dokumentation/text/06-resultat.tex index 44ac4b2..e024dd8 100644 --- a/Dokument/Teknisk Dokumentation/text/06-resultat.tex +++ b/Dokument/Teknisk Dokumentation/text/06-resultat.tex @@ -2,7 +2,20 @@ \begin{figure} \centering - \includegraphics[width=0.5\linewidth]{Figures/segment_times} + \begin{tikzpicture} + \begin{axis}[ + ylabel=Tid (s), + legend pos = outer north east, + ybar interval=0.75 + ] + \addplot+ [] coordinates {(1, 1.25) (2, 0.34) (3, 1.33) (4, 2.06) (5, 0.85) + (6, 1.74) (7, 2.55) (8, 1.97) (9, 1.28) (10, 1)}; + \addlegendentry{Körning 1} + \addplot+ [] coordinates {(1, 1.27) (2, 0.30) (3, 1.44) (4, 2.14) (5, 1.01) + (6, 2.22) (7, 2.83) (8, 2.14) (9, 1.32) (10, 1)}; + \addlegendentry{Körning 2} + \end{axis} + \end{tikzpicture} \caption{Genomsnittlig segmentstid för de två körningarna från redovisningen.} \label{fig:seg_times} \end{figure} @@ -20,6 +33,7 @@ \end{tikzpicture} \caption{Varvtider för de två körningarna från redovisningen, inklusive kalibreringsvarven.} + \label{fig:laptimes-calibration} \vspace*{\floatsep}% https://tex.stackexchange.com/q/26521/5764 @@ -41,4 +55,5 @@ \end{tikzpicture} \caption{Varvtider för de två körningarna från redovisningen, exklusive kalibreringsvarven.} + \label{fig:laptimes-no-calibration} \end{figure} |
