I would like to plot the function Arg[z]
for a complex number $z$ in three-dimensions: I would like to obtain it as a surface over the complex plane, as in the "3D plot" section of this page:
But I would also like to be able to modify the range and the colors. The function only assumes real values between $-\pi$ and $\pi$.
I found (and tried) Complex3DPlot
, but it does not provide what I'm looking for, because it plots the magnitude of Arg[z]
.
Plot3D[Arg[x + I y], {x, -1, 1}, {y, -1, 1}, ColorFunction -> "Rainbow"]
$\endgroup$