ich schreibe gerade an meiner Bachelorarbeit und muss meine Plots mit Error Bars darstellen. Ich habe mich an der Dokumentation entlanggehangelt, aber bisher noch keine Lösung gefunden.
Wenn ich das Beispiel aus der Dokumentation in mein LaTeX-Dokument rüberkopiere und kompiliere, erhalte ich das zugehörige Diagramm, aber KEINE Fehlerbalken und mehrere Fehlermeldungen vom Typ:
! Package pgfkeys Error: I do not know the key '/tikz/error bars/x fixed' and I
am going to ignore it. Perhaps you misspelled it.
Das PDF lässt sich aber trotzdem öffnen.
Hier mein Minimalbeispiel
\documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{marvosym} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amssymb} \usepackage{pgfplots} \pgfplotsset{compat=1.6} \usepackage{array} \usepackage{float} \begin{document} \begin{tikzpicture} \begin{axis} \addplot+[error bars/.cd, y dir=both,y explicit, x dir=both,x fixed=0.05, error mark=diamond*] coordinates { (0,0)+- (0.5,0.1) (0.1,0.1) +- (0.05,0.2) (0.2,0.2) +- (0,0.05) (0.5,0.5) +- (0.1,0.2) (1,1)+- (0.3,0.1)}; \end{axis} \end{tikzpicture} \end{document}
Im Terminal habe ich auch "sudo texhash" durchgeführt, alle Pakete sollten also auf einem aktuellen Stand sein.
Liebe Grüße,
Lisa