\documentstyle[11pt]{article} \setlength{\unitlength}{1cm} \begin{document} \begin{figure} \centering \input{example} \caption{A simple block diagram \label{diagram}} \end{figure} \end{document}