I'm trying to draw a figure using tikz-pgf. This figure should have two planes in it: z=x and z=0. So far I've managed to write the following:
\documentclass[a4paper,12pt]{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=-1:1,y domain=-1:1]
\addplot3[surf] {0};
\addplot3[surf] {x};
\end{axis}
\end{tikzpicture}
\end{document}
But the result is weird, because it's not clear where the intersection of both planes is. I would like the plane z=0 to "cover" a bit of the plane z=x, as if the figure was viewed from above. Is there any easy way to do this?

\documentclassand ending with\end{document}. – Bobyandbob May 06 '17 at 11:56