\documentclass[11pt]{article}
 \usepackage[dvipsnames]{xcolor}
 \usepackage{times,boxdims,graphicx,pstricks}
 \usepackage{siunitx}
 \setlength{\textwidth}{28cm}\setlength{\textheight}{28cm}
 \setlength{\oddsidemargin}{0pt}\setlength{\evensidemargin}{0pt}
 \setlength{\hoffset}{-1cm}
 \pagestyle{empty}\thispagestyle{empty}
 \newbox\graph
 \begin{document}
 \noindent\input{test.tex}\box\graph
 \end{document}
