ich habe zwei Fragen:
a) Wie kann ich bei tikzpicture die Achsen so einstellen, dass nicht dran steht: 0,2 * 10^4 sondern eher dann 2000
Habe gefunden:
\tikzset{every x tick label/.append style={/pgf/number format/.cd, fixed, fixed zerofill, precision=2}}
b) Ich erstelle über
\addplot table[x=Iterationen, y=Outlet_Fond_FeRi,mark=none] {Test.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_FeRi,mark repeat=1000] {Test.txt};
will es nicht so recht funktionieren?
\documentclass[a4paper,12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{pgfplots, pgfplotstable} \pgfplotsset{compat=1.10} \usepackage{tikz} \usepackage{csvsimple} \usepackage{float} \begin{document} \begin{figure}[H] \begin{center} \begin{tikzpicture} \begin{axis}[ legend style={at={(0.70,0.45)},xshift=0.2cm,anchor=north west,nodes=right} , legend entries ={Hallo}, width=\linewidth, % Scale the plot to \linewidth height=10cm, grid=major, grid style={dashed,gray!30}, xlabel=Anzahl Iterationen, ylabel=Temperatur in K, xmin=0, xmax=19996, ymin=270, ymax=340, x tick label style={rotate=45,anchor=east}, xtick={2000,4000,6000,8000,10000,12000,14000,16000,18000,20000}, ] \addplot table[x=Iterationen, y=Outlet_Fond_FeRi,mark=none] {Test.txt}; \end{axis} \end{tikzpicture} \end{center} \end{figure} \end{document}