\documentstyle[mmatext]{article}
\begin{document}

\begin{figure}
\centering
\fbox{\input{mypic}}
\caption{A simple figure.}
\end{figure}

\end{document}

.
