\documentclass[a4paper]{article}

\usepackage{pgfplots}

\pgfplotsset{compat=1.5}

\begin{document}

\begin{tikzpicture}
	\begin{axis}[
		title={x: abs=2},
		enlarge x limits={abs=2},
	]
	\addplot+[domain=-6:6,samples=2] {x};
	\end{axis}
\end{tikzpicture}
\end{document}

