How can I get two pictures perfectly align alongside. My code is given below.
\begin{figure}[t!]
\centering
\begin{minipage}{3.3cm}
\centering
\subtop[]{\includegraphics[height=0.25\textheight]{figa/ParameterSpace}\label{figa}}
\end{minipage}
\hspace{0.5cm}
\begin{minipage}{3.3cm}
\centering
\subtop[]{\includegraphics[height=0.25\textheight]{figa/StringMotion}\label{figb}}
\end{minipage}
\mycaption[Motion of open string in spacetime.]{%
(a) Parameter space for open strings.
(b) Open string worlsheet in target space.}
\label{figA}
\end{figure}


\documentclass{...}preamble with to image related packages and end with\end{document}. welcome to tex.se! – Zarko Dec 27 '17 at 18:55\begin{minipage}{3.3cm}to\begin{minipage}[t]{3.3cm}help? And why do you squeeze the pictures in minipages of fixed width? (No wonder that the pictures overlap.) – Dec 27 '17 at 19:17