# vertically align 3 different sized figures with same aspect ratio over three pages

I am trying to include 3 eps figures from Matlab in my Tex document. They each have multiple subplots that should all be the same size, but each figure has a different number of subplots. I would like the 3 figures to have the same aspect ratio, but to start at the same height on their respective pages. I can set the figures to have the same aspect ratio, it is the lining up that is the problem. I have tried using the figures with the natural bounding boxes from matlab, and tried setting the bounding box in matlab so that there is empty space on either the top or bottom of the figures with less subplots (so that all figures go into tex the same size). If I use the natural bounding box - tex just centers the figures on their respective pages, so that they all start at different heights on the page - this is quite jarring to look at between pages. If I use the figures with extra space at the top - then the figures get lined up by their captions, but the tops are different heights. If I use the figures with extra space at the bottom - then the figures get lined up by their tops (which I want), but there is lots of space between the graphics and captions...

I feel like there might be something that can be done with using the natural bound box figures and adding space below, but \vspace doesn't seem to take lengths from \setlength and I don't really know how else to do this.

I'm not really sure what else to try - or whether to just go with one of the above options...

I'm not sure how to do a MWE without the figures, but this is what I'm using:

 \newlength\mylena \settoheight\mylena{\includegraphics{fig1.eps}}
\settoheight\mylenb{\includegraphics{fig2.eps}}
\newlength\mylenc
\settoheight\mylenc{\includegraphics{fig3.eps}}
\newlength\mylend
\setlength{\mylend}{1.1\mylenc minus 1.1\mylena}

\begin{figure}[htbp]
\includegraphics[width=\textwidth, %
height=1.1\mylena]%
{fig1.eps}
\caption{fig1}
\label{fig:fig1}
\end{figure}

\begin{figure}[htbp]
\includegraphics[width=\textwidth, %
height=1.1\mylenb]%
{fig2.eps}
\caption{fig2}
\label{fig:fig2}
\end{figure}

\begin{figure}[htbp]
\includegraphics[width=\textwidth, %
height=1.1\mylenc]%
{fig3.eps}
\caption{fig3}
\label{fig:fig3}
\end{figure}

• @AboAmmar how did you edit the tex portion to look like that? (So I know how to do it in the future). – BaiSmi Apr 29 '18 at 0:21
• See here: mark as a code sample – CarLaTeX Apr 29 '18 at 5:41