ich versuche mich momentan im Erstellen eines QAPF Diagrammes mittels PGFplots. Dabei handelt es sich um ein doppeltes Dreiecksdiagramm, wie hier zu sehen: Wikipedia -- Streckeisendiagramm.
Mein Ansatz sieht wie folgt aus:
\documentclass[11pt]{scrartcl} \usepackage{graphicx} \usepackage{tikz} \usepackage{pgfplots} \usepackage[eulergreek]{sansmath} \pgfplotsset{ compat=newest, every axis plot post/.append style={black,mark=none}, } \usepgfplotslibrary{ternary} \usetikzlibrary{ pgfplots.ternary, calc, arrows, } \begin{document} \begin{tikzpicture}[font=\sffamily] \begin{ternaryaxis}[ xtick=\empty, ytick=\empty, ztick=\empty, ] \addplot3 table { 0.2 0.8 0 0.2 0 0.8 }; \addplot3 table { 0.6 0.14 0.26 0 0.35 0.65 }; \end{ternaryaxis} \begin{ternaryaxis}[ yshift=-35.8ex, xtick=\empty, ytick=\empty, ztick=\empty, grid=none, rotate=180, ] \addplot3[solid] table { 0.1 0.9 0 0.1 0 0.9 }; \addplot3[solid] table { 0 0.65 0.35 0.1 0.585 0.315 }; \end{ternaryaxis} \end{tikzpicture} \end{document}
Außerdem: Wie im Beispiel gezeigt, wird das Feld "Basalt, Andesit" (Mitte, ganz rechts) nicht von der X-Achse des oberen Diagrammes bzw. der Y?-Achse des unteren Diagramms durchschnitten. Kann dies per PGFplots erreicht werden?
Vielen Dank im Voraus,
elmar.a