Code:
\documentclass[
]{scrreprt} %ehemals report % Classes: scrartcl, scrreprt, scrbook, book, article, ...
\usepackage{ pgfplots} %Paket zur pdf-Diagrammerstellung
\pgfplotsset{ /tikz/font={\footnotesize},
grid=both,
compat=1.8, %Bitte Version 1.8 nutzen
scale only axis,
axis line style={line width=1.0pt},
/pgf/number format/use comma,
}
\begin{document}
\begin{figure}[htbp]
\centering
\begin{tikzpicture}
\begin{axis}[
width=8cm,
height=5cm,
xmin=0, xmax=40,
ymin=30, ymax=130,
xtick={6,8,10,12,16,20,24,28,32,36,40},
ytick={40,60,...,140},
xlabel style={
anchor= north,
fill=white,
},
ylabel style={
anchor= south,
fill=white,
},
]
\addplot gnuplot [id=eligeversu, mark=none, color=black, line width=0.5pt, solid]
{'elige_stab_versu.dat' using 1:2};
\end{axis}
\end{tikzpicture}
\end{figure}
\end{document}
Lesezeichen