Hallo zusammen,
gerne möchte ich innerhalb einer \minipage vier mittels pgfplots\tikz erstellte Diagramme in einem 2x2-Raster anordnen. Dabei kann bei den oberen beiden Diagrammen auf die xtick labels, bei den rechten beiden Diagrammen auf die ytick labels verzichtet werden. Da die Diagramme damit aber unterschiedliche Abmessungen haben, sind diese nicht mehr horizontal und vertikal zueinander ausgerichtet.
Hat jemand von Euch eine Lösung dafür?
\documentclass{scrreprt} \usepackage{pgf,tikz,pgfplots} \pgfplotsset{compat=1.17} \begin{document} \begin{center} \begin{minipage}{\textwidth} \centering \begin{tikzpicture} \begin{semilogyaxis}[scale=0.9,log ticks with fixed point, xmin=0,xmajorticks=false,xmajorgrids,xmax=100,ymajorgrids,yminorgrids,ymax=100,ymin=0.01] \end{semilogyaxis} \end{tikzpicture} \begin{tikzpicture} \begin{semilogyaxis}[scale=0.9,log ticks with fixed point,xmin=0,xmajorticks=false,xmajorgrids,xmax=100,ymajorticks=false,ymajorgrids,yminorgrids,ymax=100,ymin=0.01] \end{semilogyaxis} \end{tikzpicture} \begin{tikzpicture} \begin{semilogyaxis}[scale=0.9,log ticks with fixed point,xmin=0,xmajorgrids,xmax=100,ymajorgrids,yminorgrids,ymax=100,ymin=0.01] \end{semilogyaxis} \end{tikzpicture} \begin{tikzpicture} \begin{semilogyaxis}[scale=0.9,log ticks with fixed point,xmin=0,xmajorgrids,xmax=100,ymajorticks=false,ymajorgrids,yminorgrids,ymax=100,ymin=0.01] \end{semilogyaxis} \end{tikzpicture} \end{minipage} \end{center} \end{document}
Danke und viele Grüße
Benni