Add captions to figures

This commit is contained in:
Andreas Tsouchlos 2023-12-31 13:57:25 +01:00
parent 3e7db39935
commit 02ff3ec220

View File

@ -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}