ich habe folgende Probleme:
1. Ich möchte gerne, dass eine Farbe nur für einen Graph ausgewählt wird. Ich möchte dabei die Farben nicht festlegen, sondern sie sollen automatisch ausgewählt werden. Funktioniert soweit auch. Jedoch werden bei mir zwei Graphen mit blau gezeichnet, was nicht so toll ist. Wie kann ich das ändern?
2. Ich hätte gerne einen Titel über der Legende ... wenn ich \addlegendentry benutze funktioniert das nicht so, wie ich möchte. Hat jemand eine Idee dafür?
Vielen Dank dafür!
Mein Minimalbeispiel:
\documentclass{scrartcl} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[scale=1.5] \begin{axis}[title=Titel, /pgf/number format/.cd, use comma, %Dezimaltrennzeichen 1000 sep={.}, %1000er Trennzeichen log ticks with fixed point, xlabel={x-Achse}, ylabel={y-Achse}, xmode=log, log basis x=2, ymode=log, log basis y=10, grid=major, grid style={densely dotted}, legend columns=1, legend pos=outer north east, legend style={draw=none}, ] \addplot +[domain=1:16, no marks] {0.92426 * x^3}; \addplot +[domain=1:16, no marks] {0.7793 * x^3}; \addplot +[domain=1:16, no marks] {0.623 * x^3}; \addplot +[domain=1:16, no marks] {0.467586 * x^3}; \addplot +[domain=1:16, no marks] {0.31172 * x^3}; \addplot +[domain=1:16, no marks] {0.15586 * x^3}; \legend{{0,593},{0,5},{0,4},{0,3},{0,2},{0,1}} \end{axis} \end{tikzpicture} \end{document}