von MenschMax » Do 3. Nov 2016, 17:56
Hallo,
ich habe eine Excel Datei die folgendermaßen aussieht:
Zeit Outlet_FaRi Outlet_Fond_FeRi Outlet_Fond_FeLe Outlet_Fond_central Outlet_FaCeLe Outlet_FaCeRi
1,00 277,15 277,15 277,15 277,15 277,15 277,15
2,00 277,15 277,15 277,15 277,15 277,15 277,15
Und das bis zur Zeit 10000.
Wie kriege ich diese Daten nun in Latex?
Habe dann das ganze gespeichert unter Test.csv und dann habe ich es so versucht
\documentclass[a4paper,12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{siunitx}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{units}
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{semilogyaxis}[
legend style={at={(0,0.95)},xshift=0.2cm,anchor=north west,nodes=right} ,
legend entries ={Fall a, Fall b,ohne Sonne},
width=\linewidth, % Scale the plot to \linewidth
grid=major,
grid style={dashed,gray!30},
xlabel=Anzahl Iterationen,
ylabel=Residuum,
xmin=0, xmax=10000,
ymin=270, ymax=330,
x tick label style={rotate=45,anchor=east},
xtick={200,400,...,2000},
]
\addplot table[y=MD,col sep=semicolon] {Test.csv};
\end{semilogyaxis}
\end{tikzpicture}
\caption{My first autogenerated plot.}
\end{center}
\end{figure}
\end{document}
Dabei spuckt er mir aber 100 undurchdringliche Fehlermeldungen aus. Irgendwas stimmt mit dem Dateiformat nicht.
Um ein paar Hinweise bin ich dankbar, Danke

Hallo,
ich habe eine Excel Datei die folgendermaßen aussieht:
[code]
Zeit Outlet_FaRi Outlet_Fond_FeRi Outlet_Fond_FeLe Outlet_Fond_central Outlet_FaCeLe Outlet_FaCeRi
1,00 277,15 277,15 277,15 277,15 277,15 277,15
2,00 277,15 277,15 277,15 277,15 277,15 277,15
[/code]
Und das bis zur Zeit 10000.
Wie kriege ich diese Daten nun in Latex?
Habe dann das ganze gespeichert unter Test.csv und dann habe ich es so versucht
[code]
\documentclass[a4paper,12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{siunitx}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{units}
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{semilogyaxis}[
legend style={at={(0,0.95)},xshift=0.2cm,anchor=north west,nodes=right} ,
legend entries ={Fall a, Fall b,ohne Sonne},
width=\linewidth, % Scale the plot to \linewidth
grid=major,
grid style={dashed,gray!30},
xlabel=Anzahl Iterationen,
ylabel=Residuum,
xmin=0, xmax=10000,
ymin=270, ymax=330,
x tick label style={rotate=45,anchor=east},
xtick={200,400,...,2000},
]
\addplot table[y=MD,col sep=semicolon] {Test.csv};
\end{semilogyaxis}
\end{tikzpicture}
\caption{My first autogenerated plot.}
\end{center}
\end{figure}
\end{document}
[/code]
Dabei spuckt er mir aber 100 undurchdringliche Fehlermeldungen aus. Irgendwas stimmt mit dem Dateiformat nicht.
Um ein paar Hinweise bin ich dankbar, Danke :-)