# DensityPlot of periodic function [closed]

I can plot the phase of a complex function with Arg, using Hue as the ColorFunction:

DensityPlot[Arg[x + I y], {x, -1, 1}, {y, -1, 1},
ColorFunction -> Function[z, Hue[z/(2 Pi)]],
ColorFunctionScaling -> False, Mesh -> All]


But this produces

with a white line where the phase jumps by 2π. Is there any way to get rid of this line and to avoid the unnecessary extra sampling near the discontinuity?

## closed as off-topic by Quantum_Oli, MarcoB, m_goldberg, march, garejJun 29 '17 at 18:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Quantum_Oli, MarcoB, m_goldberg, march, garej
If this question can be reworded to fit the rules in the help center, please edit the question.

• Exclusions -> None – Kuba Jun 29 '17 at 13:55
• – Kuba Jun 29 '17 at 13:56