\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{ size rate pps load 1500 982.38 81865 0.5 1450 981.1512 84582 0.7 1400 983.4272 87806 0.6 1350 981.936 90920 0.6 1300 979.9816 94229 0.8 1250 977.44 97744 0.5 1200 980.7936 102166 0.8 1150 978.5396 106363 0.7 1100 975.6472 110869 0.6 1050 972.3588 115757 0.9 1000 977.192 122149 0.8 950 974.0312 128162 0.8 900 970.6896 134818 1.0 850 965.4368 141976 0.9 800 970.8992 151703 1.0 750 966.756 161126 0.9 700 960.9544 171599 1.2 650 956.2592 183896 4.6 600 961.4736 200307 15.3 550 954.8088 217002 19.6 500 946.992 236748 23.7 450 928.7784 257994 25.1 400 823.2672 257271 25.3 350 722.5316 258047 25.4 300 615.1632 256318 25.5 250 492.206 246103 25.5 200 406.3824 253989 25.5 150 299.2116 249343 25.3 100 205.8888 257361 25.2 50 123.79728 257911 25.5 }\sizerateppsrecv \begin{tikzpicture} \pgfplotsset{ y axis style/.style={ yticklabel style=#1, y axis line style=#1, ylabel style=#1, ytick style=#1 } } \begin{axis}[ width=15cm, height=10cm, title=Empfänger, xmin=1, xmax=1500, xlabel={Ethernet Frame-Größe}, xtick={100,300,500,700,900,1100,1300,1500}, ymin=0,ymax=1000, axis y line*=left, ylabel={Datenrate [MBit/s]}, y axis style=blue!75!black, tick label style={/pgf/number format/fixed,/pgf/number format/1000 sep = \thinspace}, scaled ticks=false ] \addplot[smooth,blue] table[x={size}, y={rate}] {\sizerateppsrecv}; \end{axis} \begin{axis}[ width=15cm, height=10cm, xmin=1, xmax=1500, axis x line=none, ymin=0,ymax=500000, ytick pos=right, axis y line* = right, ylabel={PPS}, ylabel near ticks, ytick={100000,200000,300000,400000}, y axis style=red!75!black, tick label style={/pgf/number format/fixed,/pgf/number format/1000 sep = \thinspace}, scaled ticks=false ] \addplot[smooth,red] table[x={size}, y={pps}] {\sizerateppsrecv}; \end{axis} \begin{axis}[ width=15cm, height=10cm, xmin=1, xmax=1500, axis x line=none, ymin=0,ymax=26, axis y line=none, ] \addplot[smooth,green] table[x={size}, y={load}] {\sizerateppsrecv}; \end{axis} \end{tikzpicture} \end{document}