ich verzweifle gerade daran, eine Figure caption neben einem PGF Plot darzustellen. Der Plot selber funktioniert ohne Probleme und in anderen Floats funktioniert auch mein Code, hier will er aber einfach nicht. Weiss jemand Rat??
Hier ein Minimalbeispiel:
\documentclass[11pt,twoside]{scrartcl} \usepackage{multicol} \usepackage{floatrow} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usepgfplotslibrary{ternary} \usetikzlibrary{pgfplots.ternary} \begin{document} \begin{multicols}{2} % funktioniert: \begin{figure*} \centering \begin{tikzpicture}[font=\sffamily] \begin{ternaryaxis}[ width=.5\textwidth, xmin=0,xmax=1, xtick=\empty, ytick=\empty, ztick=\empty, major tick length=0pt, grid=none, ] \addplot table { 0.5 0.5 0 0.5 0 0.5 }; \addplot table { 0.5 0.25 0.25 0.45 0.275 0.275 }; \end{ternaryaxis} \end{tikzpicture} \caption{Caption} \label{label} \end{figure*} % funktioniert nicht: \begin{figure*} \centering \fcapside[\FBwidth] {\begin{tikzpicture}[font=\sffamily] \begin{ternaryaxis}[ width=.5\textwidth, xmin=0,xmax=1, xtick=\empty, ytick=\empty, ztick=\empty, major tick length=0pt, grid=none, ] \addplot table { 0.5 0.5 0 0.5 0 0.5 }; \addplot table { 0.5 0.25 0.25 0.45 0.275 0.275 }; \end{ternaryaxis} \end{tikzpicture}} {\caption{Caption} \label{label}} \end{figure*} \end{multicols} \end{document}
"! Package pgfplots Error: Could not read table file '" Wo En Fs 0.5 0.5 0 0.5 0 0.5 "'. In case you intended to provide inline data: maybe TeX screwed up your end-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the pgfplotstable manual for details)."
Das habe ich natuerlich versucht, leider erfolglos.
Weiss jemand woran es sonst noch liegen koennte?
Vielen Dank im Voraus und beste Gruesse,
elmar.a