# How to adjust the position of subfloat?

I want to align the axes in (a) and (b) which I've marked on the picture, like they do in (c) and (d)?

The main code is below：

\begin{figure}[!t]
\centering
\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_a.eps}%
\label{pre:a}}
\hfil
\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_b.eps}%
\label{pre:b}}
\hfil
\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_c.eps}%
\label{pre:c}}
\hfil
\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_d.eps}%
\label{pre:d}}
\caption{Main processing stages of pre-coherent processing.}
\vspace{-10 pt}  % adjust the vertical spacing
\label{fig_sim1}
\end{figure}

• This makes no sense. (a) and (b) are already vertically aligned on the same baseline in the image. – Werner Jul 4 '17 at 10:56
• You may not understand my intention.@Zarko has solved my question. Also thank you for your attention and answers！ – 刘兴华 Jul 4 '17 at 13:16
• I see; you're attempting to align vertically the axes of the two images. – Werner Jul 4 '17 at 15:07

this is possible if you:

• redraw image (a): (re)move all below abscissa or (b): below abscissa add phantom node with $\Delta_{\min}$,

• enclose image (b) in \raisebox and lift it for desired amount ...

MWE for the last possibility:

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

\begin{document}
\begin{figure}
\centering
\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_a.eps}%
\label{pre:a}}
\hfil
\subfloat[]{\raisebox{1ex}% select appropriate amount
{\includegraphics[width=1.5in]{pre_coherent_b.eps}}%
\label{pre:b}}

\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_c.eps}%
\label{pre:c}}
\hfil
\subfloat[]{\includegraphics[width=1.5in]{pre_coherent_d.eps}%
\label{pre:d}}
\caption{Main processing stages of pre-coherent processing.}
\vspace{-10 pt}  % adjust the vertical spacing
\label{fig_sim1}
\end{figure}
\end{document}


Note: for caption formatting is better to load caption package and adequately set up it features as locally manual change for example vertical space between caption and figure.

• I appreciate a lot for you. Your proposed method perfectly solved my question. Thank you ！ – 刘兴华 Jul 4 '17 at 13:11
• @刘兴华, then please upvote and accept my answer (by clicking on upside pen and check mark on the top left side of answer) :) This is supposed to be instead to say "thank you" ... Happy TeXing! – Zarko Jul 4 '17 at 13:49
• It is my first time to ask question! I don't know much about the meaning of some icons in this website... Perhaps， I have clicked on downside pen before. Sorry! – 刘兴华 Jul 4 '17 at 14:16