von MenschMax » Di 8. Nov 2016, 15:38
Stimm ich Dir zu. Da hier nich weiterkomme habe ich das hier noch probiert:
http://tex.stackexchange.com/questions/ ... y-overload
Habe dafür unter Ausgabeprofil bei "Pfad des Compilers" eingefügt:
pdflatex.exe -shell-escape
In der Präambel habe ich eingefügt:
\usepgfplotslibrary{external}
\tikzexternalize
Das Beispiel
\documentclass{article}
\usepackage{pgfplots}
\usepgfplotslibrary{external}
\tikzexternalize[shell escape=-enable-write18] %needed for the MiKTeX compiler
\begin{document}
\begin{figure}
\begin{tikzpicture}
\begin{axis}
\addplot {x^2};
\end{axis}
\end{tikzpicture}
\caption{Our first external graphics example}
\end{figure}
\end{document}
läuft ohne Probleme durch.
Wechsel ich danach zu:
\documentclass[a4paper,12pt,twoside]{report}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{pgfplots, pgfplotstable}
\pgfplotsset{compat=1.10}
\usepackage{tikz}
\usepackage{csvsimple}
\usepackage{float}
\usepgfplotslibrary{external}
\tikzexternalize[shell escape=-enable-write18] %needed for the MiKTeX compiler
\begin{document}
Hallo
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{axis}[
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
height=10cm,
grid=major,
grid style={dashed,gray!30},
xlabel=Anzahl Iterationen,
ylabel=Temperatur in Kelvin,
xmin=0, xmax=7000,
ymin=270, ymax=340,
x tick label style={rotate=45,anchor=east},
xtick={0,1000,2000,...,7000},
]
\addplot table[x=Iterationen, y=Outlet_FaLe,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_FaRi,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_FeRi,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_FeLe,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_central,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_FaCeLe,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_FaCeRi,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\end{axis}
\end{tikzpicture}
\caption{My first autogenerated plot.}
\end{center}
\end{figure}
\end{document}
dann wird immer wieder die Funktion x^2 angezeigt. Wieso schreibt er mir den neuen Plot nicht heraus?
Danke für eure Geduld!
Stimm ich Dir zu. Da hier nich weiterkomme habe ich das hier noch probiert:
[url]http://tex.stackexchange.com/questions/7953/how-to-expand-texs-main-memory-size-pgfplots-memory-overload[/url]
Habe dafür unter Ausgabeprofil bei "Pfad des Compilers" eingefügt:
pdflatex.exe -shell-escape
In der Präambel habe ich eingefügt:
[code]
\usepgfplotslibrary{external}
\tikzexternalize
[/code]
Das Beispiel
[code]
\documentclass{article}
\usepackage{pgfplots}
\usepgfplotslibrary{external}
\tikzexternalize[shell escape=-enable-write18] %needed for the MiKTeX compiler
\begin{document}
\begin{figure}
\begin{tikzpicture}
\begin{axis}
\addplot {x^2};
\end{axis}
\end{tikzpicture}
\caption{Our first external graphics example}
\end{figure}
\end{document}
[/code]
läuft ohne Probleme durch.
Wechsel ich danach zu:
[code]
\documentclass[a4paper,12pt,twoside]{report}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{pgfplots, pgfplotstable}
\pgfplotsset{compat=1.10}
\usepackage{tikz}
\usepackage{csvsimple}
\usepackage{float}
\usepgfplotslibrary{external}
\tikzexternalize[shell escape=-enable-write18] %needed for the MiKTeX compiler
\begin{document}
Hallo
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{axis}[
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
height=10cm,
grid=major,
grid style={dashed,gray!30},
xlabel=Anzahl Iterationen,
ylabel=Temperatur in Kelvin,
xmin=0, xmax=7000,
ymin=270, ymax=340,
x tick label style={rotate=45,anchor=east},
xtick={0,1000,2000,...,7000},
]
\addplot table[x=Iterationen, y=Outlet_FaLe,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_FaRi,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_FeRi,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_FeLe,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_Fond_central,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_FaCeLe,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\addplot table[x=Iterationen, y=Outlet_FaCeRi,mark=none] {Kapitel7/Section_Stabilitaet/Crash2.txt};
\end{axis}
\end{tikzpicture}
\caption{My first autogenerated plot.}
\end{center}
\end{figure}
\end{document}
[/code]
dann wird immer wieder die Funktion x^2 angezeigt. Wieso schreibt er mir den neuen Plot nicht heraus?
Danke für eure Geduld!