Instead of you using two environments-subfig
and figure
, you can just use figure
and subfloat
\documentclass{article}
\usepackage{float}
\usepackage[caption = false]{subfig}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\subfloat[fig 1]{\includegraphics[width = 3in]{something}}
\subfloat[fig 2]{\includegraphics[width = 3in]{something}}\\
\subfloat[fig 3]{\includegraphics[width = 3in]{something}}
\subfloat[fig 4]{\includegraphics[width = 3in]{something}}
\caption{Add your own figures before compiling}
\label{some example}
\end{figure}
\end{document}
After every two figures add \\
or adjust the width so that only two figures fit side by side.
==========================
Please change
\usepackage[demo]{graphicx}
to
\usepackage[final]{graphicx}
to see your actual images (instead you will always see black boxes.