I am having trouble compiling even some very simple surface drawing using pgfplot and addplot3, for example please see the attached code, I keep getting error saying \begin{axis} on input line 8 ended by \end{document}, and if I commented those two lines of addplot3 out, it is okay, so I am guessing it is not the problem of Tex-live on Ubuntu. Googled but nobody seems to have a similar issue with this. Any idea?
\documentclass{minimal}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3[surf,domain=0:10,samples=40, shader=interp]
{x*y};
\end{axis}
\end{tikzpicture}
\end{document}