Arg[z] gives the argument of the complex number z.
The result is given in radians: In[1]:=Arg[-1] Out[1]=π In[2]:=Arg[1 + I] Out[2]=π/4 Plot over a subset of the reals: In[1]:=Plot[Arg[x], {x, -3, 3}] Out[1]= Plot over a subset of the complexes: In[1]:=ComplexPlot3D[Arg[z], {z, -2 - 2I, 2 + 2I}, PlotLegends->Automatic] Out[1]=
Listable | NumericFunction | Protected
ArcTan | Sign | Abs | AbsArg | Im | Re | Conjugate | ToPolarCoordinates
135th most common (1 in 3170 symbols)
386th most common (1 in 15400 symbols)
517th most common (1 in 8050 symbols)
introduced in Version 1 (June 1988) last modified in Version 13 (December 2021)