ich versuche vergebens eine CSV Datei in tikzpicture zu integrieren.
Was mache ich denn falsch: Irgendwas stimmt mit den Trennzeichen in der csv Datei nicht, aber ich weiß nicht wie ich das beheben kann:
\documentclass[a4paper,12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplots} \usepackage{tikz} \usepackage{csvsimple} \begin{document} \begin{figure}[h!] \begin{center} \begin{tikzpicture} \begin{axis}[ width=\linewidth, % Scale the plot to \linewidth grid=major, grid style={dashed,gray!30}, xlabel=X Axis $U$, % Set the labels ylabel=Y Axis $I$, x unit=\si{\volt}, % Set the respective units y unit=\si{\ampere}, %legend style={at={(0.5,-0.2)},anchor=north}, %x tick label style={rotate=90,anchor=east} x tick label style={anchor=east} ] \addplot % add a plot from table; you select the columns by using the actual name in % the .csv file (on top) table[col sep=tab, ignore chars=,] {omega.csv}; \legend{Plot} \end{axis} \end{tikzpicture} \caption{My first autogenerated plot.} \end{center} \end{figure} \end{document}
1 0.002627205
2 0.0018133055
3 0.0013149582
Dabei stehen die Werte jeweils in Spalte 1 und Spalte 2
Danke für Tipps

Kuss Moritz