
Может ли кто-нибудь подсказать, как это сделать с помощью grouplots и tikz? Я сделал это с помощью subfigure и \includegraphics, однако у меня возникли проблемы с расположением границ участков относительно других участков.
\begin{figure}
\centering
\begin{subfigure}[b]{0.45\linewidth}
\includegraphics[width=\linewidth]{./Figures/c11.tex}
\caption{}
\end{subfigure} \quad
\begin{subfigure}[b]{0.45\linewidth}
\includegraphics[width=\linewidth]{./Figures/c22.tex}
\caption{}
\end{subfigure} \\
\begin{subfigure}[b]{0.45\linewidth}
\centering
\includegraphics[width=\linewidth]{./Figures/c33.tex}
\caption{}
\end{subfigure}\quad
\begin{subfigure}[b]{0.45\linewidth}
\begin{tabular}[b]{@{}c@{}}
\includegraphics[width=.45\linewidth]{./Figures/c44-1.tex} \quad
\includegraphics[width=.45\linewidth]{./Figures/c44-2.tex}\\[-3pt]
\includegraphics[width=.45\linewidth]{./Figures/c44-3.tex} \quad
\includegraphics[width=.45\linewidth]{./Figures/c44-4.tex} \\[-3pt]
\end{tabular}
\caption{}
\end{subfigure}
\caption{bla bla}
\label{Figure1}
\end{figure}
При использовании этого кода я получаю следующий рисунок. Я хочу, чтобы он был идеально выровнен.
Я пытался использовать групповые графики, но не уверен, как задать подрисунок, который строится с 4 подграфиками. Это MWE.
\documentclass[10pt,a4paper]{article}
\usepackage{tikz}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{figure}
\begin{tikzpicture}
\begin{groupplot}[
group style={group size=2 by 2},
cycle multiindex* list = {very thick\nextlist red\nextlist only
marks\nextlist}
]
\nextgroupplot \addplot {x}; \addplot {x^2};
\nextgroupplot[cycle list = {red, blue}] \addplot {x}; \addplot {x^2};
\nextgroupplot \addplot[green] {x}; \addplot {x^2};
\nextgrouplot %Here I am not sure what to do
\begin{groupplot}[
group style={group size=2 by 2},
cycle multiindex* list = {very
thick\nextlist red\nextlist only
marks\nextlist}
]
\nextgroupplot \addplot {x}; \addplot {x^2};
\nextgroupplot \addplot {x}; \addplot {x^2};
\nextgroupplot \addplot {x}; \addplot {x^2};
\nextgroupplot \addplot {x}; \addplot {x^2};
\end{groupplot}
\end{groupplot}
\end{tikzpicture}
\end{figure}
\end{document}