\documentclass[a4paper]{article}

\usepackage{pgfplots}

\pgfplotsset{compat=1.3}

\begin{document}

\begin{tikzpicture}[scale=0.5]
	\begin{axis}
		\addplot {x};
	\end{axis}
\end{tikzpicture}
\end{document}

