\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[->] (-2,0) -- (2,0) node[right] {$x$};
\draw[->] (0,-2) -- (0,2) node[above] {$y$};
\draw[scale=1, domain=-2:2, smooth, variable=\x, blue]
plot ({\x},{\x*\x}) node[right] {$y=x^2$};

\end{tikzpicture}

\end{document}
