0

I'm making a figure with four graphs next to each other but I want the graphs to be larger (without changing position). I don't mind giving up some of the margin for this, but how do you do this in latex? I have tried a couple of things but then the figure is not centered anymore.

Here is my code:

\begin{figure}[H]
\centering
\begin{subfigure}{.5\textwidth}
\centering
 \begin{center}\includegraphics[width=1.0\linewidth]{Figures/fundvsprice.pdf}\end{center}
  \vspace{-0.45cm}
  \subcaption{Fundamental versus real values}\label{fig:1a}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
  \centering
\begin{center}\includegraphics[width=1.0\linewidth]{Figures/fundvsprice.pdf}\end{center}
  \vspace{-0.45cm}
  \subcaption{Fundamental versus real values}\label{fig:1b}
\end{subfigure}%
\\
\begin{subfigure}{.5\textwidth}
\centering
 \begin{center}\includegraphics[width=1.0\linewidth]{Figures/fundvsprice.pdf}\end{center}
  \vspace{-0.45cm}
  \subcaption{Fundamental versus real values}\label{fig:1c}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
  \centering
\begin{center}\includegraphics[width=1.0\linewidth]{Figures/fundvsprice.pdf}\end{center}
  \vspace{-0.45cm}
  \subcaption{Fundamental versus real values}\label{fig:1d}
\end{subfigure}%
\caption{General caption.} \label{fig:1}
\end{figure}

enter image description here

1 Answer 1

1

If I'm correct I see that these are MATLAB figures? In that case use 'tightfig' in MATLAB, that removes all the margins to start with. (I do not have enough rep to comment this :P)

otherwise you can use Crop an inserted image?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .