0

I'm trying to create a grid of images, with two titles and a caption/text (like in the attached image) on the left side for each row (without the word "Figure"), such that the left text would be in the center.

Following is the current code. I haven't managed to make the text appear on center, and if I did, using floatrow, I couldn't get rid of the "Figure" word, or put up titles.

\begin{figure}[ht]
\centering
\par%
\begin{tabular}{ccc}
& RGB & NIR\\
(a) & \includegraphics[width=.3\linewidth]{whatever.jpg} & \includegraphics[width=.3\linewidth]{whatever.jpg}\\
(b) & \includegraphics[width=.3\linewidth]{whatever.jpg} & \includegraphics[width=.3\linewidth]{whatever.jpg}\\
(c) & \includegraphics[width=.3\linewidth]{whatever.jpg} & \includegraphics[width=.3\linewidth]{whatever.jpg}\\
(d) & \includegraphics[width=.3\linewidth]{whatever.jpg} & \includegraphics[width=.3\linewidth]{whatever.jpg}\\
\end{tabular}
\caption{some caption}.}%
\label{fig:fig1}%
\end{figure}

enter image description here

EDIT:
It would be best if I could refer to each row separately as if they were figures.

1
  • have alook at the answer below -- using the multirow package in the preamble the caption can be centered -- fine tuning can be done by using 9.3 or 9.5
    – js bibra
    Mar 6, 2021 at 0:45

1 Answer 1

1

enter image description here

\begin{tabular}{ccc}
    & RGB & NIR\\
    \multirow{-9.4}{*}{(a)} & \includegraphics[width=.3\linewidth]{whatever.jpg} & \includegraphics[width=.3\linewidth]{whatever.jpg}\\
\end{tabular}
1
  • Thanks, and if I want to reference row (a), how can it be achieved?
    – Jjang
    Mar 6, 2021 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.