4 (sub) Subfigures + 1 Subfigure side by side

by Ayan Mitra   Last Updated July 12, 2019 06:23 AM

Her is what I have tried. For reproducibility I have used [demo] . I want the plots on the right to be neatly placed and of the same height as the one on left.

\documentclass{article}
\usepackage{caption,subcaption}
\usepackage[demo]{graphicx} % demo is just for the example

\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{.45\textwidth}
\includegraphics[width=\textwidth,height=5cm]{/home/ayan/Programs/David_Parkinson/Reduced_Reshaped/Elbow.pdf}
%\caption{A tall figure}
\end{subfigure}\qquad
\begin{subfigure}[b]{.45\textwidth}
    \begin{subfigure}[b]{.45\textwidth}
        \includegraphics[width=\textwidth]{/home/ayan/Programs/David_Parkinson/Reduced_Reshaped/ML_Data/BIN_1/KMeans_Cluster_1_hist.pdf}
        %\caption{}\label{}
    \end{subfigure}
    \begin{subfigure}[b]{.45\textwidth}
        \includegraphics[width=\textwidth]{/home/ayan/Programs/David_Parkinson/Reduced_Reshaped/ML_Data/BIN_1/KMeans_Cluster_1_hist.pdf}
        %\caption{}\label{}
    \end{subfigure}
    \begin{subfigure}[b]{.45\textwidth}
        \includegraphics[width=\textwidth]{/home/ayan/Programs/David_Parkinson/Reduced_Reshaped/ML_Data/BIN_1/KMeans_Cluster_1_hist.pdf}
        %\caption{}\label{}
    \end{subfigure}
    \begin{subfigure}[b]{.45\textwidth}
        \includegraphics[width=\textwidth]{/home/ayan/Programs/David_Parkinson/Reduced_Reshaped/ML_Data/BIN_1/KMeans_Cluster_1_hist.pdf}
        %\caption{}\label{}
    \end{subfigure}
\end{subfigure}\qquad

\caption{The full caption}
\end{figure}
\end{document}

The demo plot

The real plot looks like this, with the 2X2 grids plots smaller and poorly positioned



Related Questions


Updated June 14, 2017 23:23 PM

Updated March 28, 2017 15:23 PM

Updated March 13, 2017 20:23 PM

Updated June 09, 2017 09:23 AM

Updated June 12, 2017 20:23 PM