如何标记 3x3 子图中的行

如何标记 3x3 子图中的行

在此处输入图片描述

在下面所示的附加图像示例中,我如何操作代码来获取标记的行?

\begin{figure}
    \centering
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{10t10w125x300y3}} \quad
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{10t40w250x400y3}} \quad
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{10t100w340x500y3}} \\
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{30t10w200x400y3}} \quad
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{30t40w350x750y3}} \quad
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{30t100w550x1200y3}} \\
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{50t10w300x600y3}} \quad
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{50t40w600x1100y3}} \quad
    \subfloat[][]
    {\includegraphics[width=.3\textwidth]{50t100w600x1500y3}}
    \caption{Fields.}
    \label{subplots1310}
    \end{figure}

答案1

您忘记提到要为行使用哪种标签(计数器?一些单词?)。无论如何,一种选择是使用\parboxes 作为每行的标签(使用\raisebox您可以进一步控制这些标签的垂直对齐方式)。类似于以下简单示例:

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subfig}

\begin{document}

\begin{figure}
  \centering
  \raisebox{35pt}{\parbox[b]{.1\textwidth}{labelA}}%
  \subfloat[][]{\includegraphics[width=.28\textwidth]{10t10w125x300y3}}\hfill
  \subfloat[][]{\includegraphics[width=.28\textwidth]{10t40w250x400y3}}\hfill
  \subfloat[][]{\includegraphics[width=.28\textwidth]{10t100w340x500y3}}\par
  \raisebox{35pt}{\parbox[b]{.1\textwidth}{labelB}}%
  \subfloat[][]{\includegraphics[width=.28\textwidth]{30t10w200x400y3}}\hfill
  \subfloat[][]{\includegraphics[width=.28\textwidth]{30t40w350x750y3}}\hfill
  \subfloat[][]{\includegraphics[width=.28\textwidth]{30t100w550x1200y3}}\par
  \raisebox{35pt}{\parbox[b]{.1\textwidth}{labelC}}%
  \subfloat[][]{\includegraphics[width=.28\textwidth]{50t10w300x600y3}}\hfill
  \subfloat[][]{\includegraphics[width=.28\textwidth]{50t40w600x1100y3}}\hfill
  \subfloat[][]{\includegraphics[width=.28\textwidth]{50t100w600x1500y3}}
  \caption{Fields}
  \label{subplots1310}
\end{figure}

\end{document}

结果:

在此处输入图片描述

选项demo只是graphicx用黑色矩形替换实际图形;不是在实际文档中使用该选项。

相关内容