The tikzscale LaTeX package provides an interface similar to includegraphics for tikzpictures. It allows scaling of TikZ images and PGFPlots to a provided width or height without changing the text size.