\documentclass{article}
% translate with >> pdflatex -shell-escape <file>

% This file is used as unit test for pgfplots, copyright by Christian Feuersaenger.
% 
% See
%   http://pgfplots.sourceforge.net/pgfplots.pdf
% for pgfplots.
%
% Any required input files (for <plot table> or <plot file> or the table package) can be downloaded
% at
% http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/
% and
% http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/plotdata/

\usepackage{pgfplots}
\pgfplotsset{compat=1.3}

\pagestyle{empty}

\pgfplotsset{
	samples=5,
	domain=-4:4,
	xtick=data,
	ytick=data,
%	ztick=data,
}

\begin{document}

	\begin{tikzpicture}
		\begin{axis}[
			grid=major,
			3d box=complete*,
			3d box foreground style={grid style={red}},
		]
			\addplot3[surf] {x*y};
		\end{axis}
	\end{tikzpicture}
\end{document}
