add bug plot

This commit is contained in:
julian 2024-04-21 14:38:15 +02:00
parent 729ebb51b7
commit c02a4afd3b
2 changed files with 64 additions and 49 deletions

BIN
main.pdf

Binary file not shown.

View File

@ -1,12 +1,13 @@
\documentclass{beamer}
\usepackage{lmodern} % Add the lmodern package to fix missing font shapes
\usepackage{beamerthemeDHBW} % Include the package
\usepackage[overlay, absolute]{textpos}
\usepackage{bookmark}
\usepackage{pgfplots}
\usepackage{tikz}
\usepackage{amssymb} % Add the amssymb package to fix missing font shape
\usepackage{listings}
\newcommand{\internetadresse}{https://www.dhbw-stuttgart.de}
\pgfplotsset{compat=1.18}
\lstset{
@ -143,4 +144,18 @@ javac src/main/java/de/dhbwstuttgart/typedeployment/TypeInsert.java src/main/jav
\end{frame}
\begin{frame}[fragile]{Bugs}
\begin{center}
\begin{tikzpicture} \begin{axis}[ ybar, enlargelimits=0.15, legend style={at={(0.
5,-0.3)}, anchor=north,legend columns=-1}, ylabel={Anzahl}, symbolic x
coords={Bugs,Requests}, xtick=data, nodes near coords, nodes near coords
align={vertical}, width=0.9\textwidth, height=10cm, bar width=3cm]
\addplot coordinates {(Bugs,7) (Requests,9) };
\addplot coordinates {(Bugs,3) (Requests,1) };
\legend{open,closed}
\end{axis}
\end{tikzpicture}
\end{center}
\end{frame}
\end{document}