\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.txt}{\nftsimpledrop} \begin{tikzpicture} \begin{axis}[ yshift=-0.5cm, xtick={5000,10000,15000,20000,25000,30000}, xmin=200, xmax=30000, ymin=0, ymode=log, xlabel={Anzahl der Firewall-Regeln}, ylabel={Pakete pro Sekunde}, 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={iptpps}] {\nftsimpledrop}; \addplot[smooth,red] table [x={rules}, y={nftpps}] {\nftsimpledrop}; \end{axis} \end{tikzpicture} \end{document}