ist es möglich die marks auch über die Säulen zu schieben? Bei mir sind diese leider alle mittig über dem Tik.
\documentclass{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{figure}[htb] \centering \begin{tikzpicture}[farbe/.style={draw=#1,fill=#1}] \pgfkeyssetvalue{/mykeys/bardistance}{10pt} \begin{axis}[ axis y line*=left, yticklabel pos=left, width=0.90\textwidth, height=0.45\textheight, xtick = {1,...,3}, xticklabels={a,b,c}, x tick label style={rotate=0}, enlarge x limits=0.2, minor tick num=0, ymajorgrids, ybar, bar shift=0pt, ymin=0,ymax=1000, xtick=data ] \addplot+[bar shift=-3 mm, mark=otimes*] plot[error bars/.cd, y dir=both,y explicit] coordinates { (1,350) +- (4.6,4.6) (2,360) +- (9.5,9.5) (3,400) +- (7.5,7.5) }; \end{axis} \begin{axis}[ width=0.90\textwidth, height=0.45\textheight, axis y line*=right, yticklabel pos=right, xtick = {1,...,3}, xticklabels={a,b,c}, enlarge x limits=0.2, ybar, bar shift=10pt, ymin=0, ymax=25, axis x line=none ] \addplot+[bar shift=+3mm, mark=diamond] plot[error bars/.cd, y dir=both,y explicit] coordinates { (1,13.3) +- (0.2,0.2) (2,14.8) +- (0.1,0.1) (3,13.2) +- (0.2,0.2) }; \end{axis} \end{tikzpicture} \caption{test} \end{figure} \end{document}