37 lines
1014 B
TeX
37 lines
1014 B
TeX
\documentclass{standalone}
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usepackage{pgfplots}
|
|
\pgfplotsset{compat=1.3}
|
|
\usepgfplotslibrary{units}
|
|
\usepgfplotslibrary{dateplot}
|
|
\usepackage{tikz}
|
|
\usepackage{pgfplotstable}
|
|
\usepackage{csquotes}
|
|
\usepackage{float}
|
|
|
|
\begin{document}
|
|
|
|
\pgfplotstableread{nft/ipt-nft-simple-drop-response.txt}{\nftsimpledropresponse}
|
|
|
|
\begin{tikzpicture}
|
|
\begin{axis}[
|
|
yshift=-0.5cm,
|
|
xtick={10000,20000,30000,40000,50000,60000,70000,80000,90000,100000},
|
|
xmin=200, xmax=100000,
|
|
ymin=0,
|
|
xlabel={Anzahl der Firewall-Regeln}, ylabel={Antwortzeit [ms]},
|
|
tick label style={/pgf/number format/fixed,/pgf/number format/1000 sep = \thinspace},
|
|
width=15cm, height=10cm,
|
|
legend entries={iptables,nftables},
|
|
scaled ticks=false
|
|
]
|
|
\addplot[smooth,blue] table [x={rules}, y={ipt}] {\nftsimpledropresponse};
|
|
\addplot[smooth,red] table [x={rules}, y={nft}] {\nftsimpledropresponse};
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
|
|
|
|
\end{document}
|