Latex 布局子图问题-删除线条

Latex 布局子图问题-删除线条

我是一个 LateX 新手,遇到了一个问题,两天来一直无法解决。

对于我的论文,我希望 3 个图以相同的方式排列。我尝试了一些代码片段和 LateX 模板,并能够像这样显示它(这对我来说很好)。

然而,无论我怎么尝试,都无法摆脱图中的 3 条垂直线。

我尝试添加几个包,但是都没有起作用(我暂时将它们留在代码中)。在此处输入图片描述 哦,还有:标题字体可能比副标题字体更大吗?

我感谢您的帮助 :)

\documentclass[11pt,a4paper,landscape]{article}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage[labelfont={bf,sf},font={small, sf},
labelsep=space]{caption}
\usepackage[format=plain,margin=3cm]{caption}
\DeclareCaptionFormat{myformat}{\fontsize{5}{5}\selectfont#1#2#3}
\captionsetup{format=myformat}
\usepackage[active,floats,tightpage]{preview}
\begin{document}
\begin{figure}[htb]
\centering
\begin{tabular}[t]{|c|c|}
\begin{subfigure}{0.45\textwidth}
\includegraphics[scale=0.25, left]{hiking}
\caption{Migration pattern and habitat preferences} 
\end{subfigure}
&
    \begin{tabular}{c}
    \smallskip 
    \smallskip 
        \begin{subfigure}[t]{0.4\textwidth}
            \begin{flushright}
            \includegraphics[width=0.7\textwidth, right ]{ele}
            \caption{elevation profile}
        \end{flushright}
        \end{subfigure}\\
        \begin{subfigure}[t]{0.4\textwidth}
        \hspace{3 cm}
            \centering
            \includegraphics[width=0.7\textwidth, right]{graph2}
            \caption[left] {migration distance in\\ regard to precipitation}
        \end{subfigure}
    \end{tabular}\\
\end{tabular}
\caption*{Migration pattern of BP61}
\end{figure}
\end{document}

相关内容