\usepackage{graphicx}
\usepackage[]{subfig}
\begin{figure}[hbt!]
\centering
\subfloat[\label{Airline:a}]{\includegraphics[width=0.46\textwidth]{a.eps}} \qquad
\subfloat[\label{Airline:b}]{\includegraphics[width=0.46\textwidth]{b.eps}} \\
\subfloat[\label{Airline:c}]{\makebox[\linewidth]{\includegraphics[width=1.3\textwidth]{c.eps}}}
\caption{Descriptive Statistics}
\label{Airline}
\end{figure}
我以前用上面的方法排列三个图,但现在我的图形状不同,我想用下面的方法排列它们。我可以用最少的 LaTex 代码更改来做到这一点吗?
答案1
您可以使用两种minipage
环境:
\documentclass{article}
\usepackage{graphicx}
\usepackage[]{subfig}
\begin{document}
\begin{figure}[hbt!]
\centering
\begin{minipage}{0.5\textwidth}
\subfloat[\label{Airline:a}]{\includegraphics[width=0.98\textwidth]{example-image-1x1}}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\subfloat[\label{Airline:b}]{\includegraphics[width=0.98\textwidth]{example-image-b}} \\
\subfloat[\label{Airline:c}]{\includegraphics[width=0.98\textwidth]{example-image-c}}
\end{minipage}
\caption{Descriptive Statistics}
\label{Airline}
\end{figure}
\end{document}