leider komme ich nicht weiter.. Habe das Problem, dass die Ausrichtung der Bildunterschrift verrutscht, wenn ein Diagramm in der X-Achse eine Kommadarstellung hat und das andere nicht.
Kann mir jemand helfen. Vielen Dank!!
\documentclass{article} \usepackage{caption,subfig} \usepackage{pgfplots} \pgfplotsset{ compat=newest, /pgf/number format/use comma, } \begin{document} \begin{figure}[htbp] \centering \pgfplotsset{width=0.45\textwidth, height=.25\textheight} \subfloat[Caption 1 Caption 1 Caption 1 Caption 1 Caption 1]{% \begin{tikzpicture}[baseline] \begin{axis}[ xmin=0, xmax=1.80, ymin=0, ymax=60000, xlabel={label x}, ylabel={label y} ] \addplot {x^3 + 3*x + 10000}; \addlegendentry{\(x^3 + 3x + 10000\)} \end{axis} \end{tikzpicture} }% \hfil \subfloat[Caption 2 Caption 2 Caption 2 Caption 2 Caption 2]{% \begin{tikzpicture}[baseline] \begin{axis}[ xmin=-25, xmax=25, ymin=0, ymax=100, xlabel={label x}, ylabel={label y} ] \addplot {x^3 + 3*x + 1}; \addlegendentry{\(x^3 + 3x + 1\)} \end{axis} \end{tikzpicture} }% \caption{Caption 3} \end{figure} \end{document}