When plotting an expression using pgfplots, there are strange artefacts in places where the z-values are too big for the current axis. How do I fix it? Is there an equivalent to y domain for the z-axis?
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-1.5,xmax=1.5,
ymin=-1.5,ymax=1.5,
zmin=0, zmax=1,
view={40}{20}]
\addplot3[domain=-1.5:1.5, y domain=-1.5:1.5,
surf,samples=40,opacity=0.3]
{1-x^2-y^2};
\end{axis}
\end{tikzpicture}
\end{document}
