[Tex/LaTex] Set the size of pgf picture

graphicstikz-pgfxetex

I have a pgf picture which I insert with:

\input{m1.pgf}

But the image is too big. Instead of regenerating a smaller image, I'd rather take advantage of vector graphics, and have XeLaTeX scale it. How do I set the width of pgf picture (keeping its aspect ratio)?

MWE

tex:

\documentclass{article}

\usepackage{fontspec} % enagles loading of OpenType fonts
\usepackage{polyglossia} % support for languages

% fonts:
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text} % without this XeLaTeX won't turn "--" into dashes
\setmainfont{DejaVu Sans}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}

% pgf:
\usepackage{pgf}

\begin{document}

\input{m1.pgf}

\end{document}

Sample pgf: m1.pgf (it's too big to cite it here, and I can't make much smaller).

Best Answer

Maybe simply \scalebox:

\documentclass{article}

\usepackage{fontspec} % enagles loading of OpenType fonts
\usepackage{polyglossia} % support for languages

% fonts:
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text} % without this XeLaTeX won't turn "--" into dashes
\setmainfont{DejaVu Sans}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}

% pgf:
\usepackage{pgf}

\begin{document}

\scalebox{0.6}{\input{m1.pgf}}

\end{document}