ich möchte die vier Graphen jeweils an den inneren vertikalen Achsen ausrichten. Wenn möglich, sollen die Graphen so groß wie möglich werden, von der Breite her, also die Anordnung so weit wie möglich nach Außen. Wie kann ich das realisieren?
Hier mein Minimalbeispiel:
\documentclass{article} \usepackage{pgfplots} \usepackage[caption=false]{subfig} \begin{document} \begin{figure}[htpb] \centering \null\hfill \subfloat{% \begin{tikzpicture}[trim axis left,trim axis right] \begin{axis}[ width=0.45\textwidth, height=0.3\textwidth, grid=major, xlabel={x}, ylabel={y}, ] \addplot [] table[row sep=crcr]{% 0 4.21617460250854\\ 0.416666686457269 4.18203639984131\\ }; \end{axis} \end{tikzpicture} } \hfill \subfloat{% \begin{tikzpicture}[trim axis left, trim axis right] \begin{axis}[ width=0.45\textwidth, height=0.3\textwidth, grid=major, xlabel={x}, ylabel={y}, ] \addplot [] table[row sep=crcr]{% 0 0.699951844414071\\ 0.416666686457269 0.700266154408453\\ }; \end{axis} \end{tikzpicture} } \hfill\null \subfloat{% \begin{tikzpicture}[] \begin{axis}[ width=0.45\textwidth, height=0.3\textwidth, grid=major, xlabel={x}, ylabel={y}, ] \addplot [forget plot] table[row sep=crcr]{% 0 0.00662534683942795\\ 0.416666686457269 -0.0090860945979754\\ }; \end{axis} \end{tikzpicture} } \hfill \subfloat{% \begin{tikzpicture}[trim axis left, trim axis right] \begin{axis}[ width=0.45\textwidth, height=0.3\textwidth, grid=major, xlabel={x}, ylabel={y}, ] \addplot [] table[row sep=crcr]{% 0 -0.000319747449830175\\ 0.416666686457269 0.000497125548621018\\ }; \end{axis} \end{tikzpicture} } \hfill\null \caption{Bla} \end{figure} \end{document}
Habe schon ein wenig mit trim und hfill probiert, was aber nicht zum richtigen Ergebnis führte.
Vielen Dank im Voraus!