From 02ff3ec220f865b70169523a93e9e8fd84de65f2 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sun, 31 Dec 2023 13:57:25 +0100 Subject: [PATCH] Add captions to figures --- res/report.tex | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/res/report.tex b/res/report.tex index ddc0a9d..f2637d6 100644 --- a/res/report.tex +++ b/res/report.tex @@ -13,6 +13,7 @@ \usepackage{tikz} \usepackage[l3]{csvsimple} \usepackage{subcaption} +\usepackage{lmodern,textcomp} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -120,9 +121,11 @@ \begin{figure}[H] \centering - \begin{tikzpicture}[scale=3] + \begin{tikzpicture}[scale=2.5] \csvPie{category_overview.csv} \end{tikzpicture} + + \caption{Total percenteage of expenses by category} \end{figure} \begin{figure}[H] @@ -135,7 +138,7 @@ \begin{axis}[ width=\textwidth, height=0.375\textwidth, - ylabel={Net income}, + ylabel={Net income in €}, y label style={at={(-0.1,0.5)},anchor=south}, ] \addplot+[ybar, color=scol2, fill=scol2, line width=1pt] @@ -155,7 +158,7 @@ width=\textwidth, height=0.375\textwidth, area style, - ylabel={Total amount}, + ylabel={Total balance in €}, y label style={at={(-0.1,0.5)},anchor=south}, ] \addplot+[mark=none, color=scol1, line width=1pt] @@ -164,6 +167,8 @@ \end{axis} \end{tikzpicture} \end{subfigure} + + \caption{Development of account balance over time} \end{figure} \end{document}