I am willing to plot the following function

Plot3D[Im[Sqrt[Conjugate[Sum[w^k*Exp[(1/2)*(Conjugate[w^k]*(x + I*y) - w^k*(x - I*y))]*Sum[w^k*Exp[(-2^(-1))*(Conjugate[w^k]*(x + I*y) -w^k*(x - I*y))], {k, 0, 2}],{k, 0, 2}]]]], {x, -Pi, Pi}, {y, -Pi, Pi}]

The issue then is that Mathematica induces a branch-cut of the square root function so that the above function becomes discontinuous. Is there a way to plot this function so that the graph becomes continuous and smooth?enter image description here

  • 1
    $\begingroup$ Related: How to get smooth square root of complex valued function? However, that question had more to do with a function from $\mathbb{R} \to \mathbb{C}$ while this one appears to be $\mathbb{C} \to \mathbb{R}$. I suspect that will make things more difficult, if not impossible. $\endgroup$ Commented Nov 8, 2021 at 0:15
  • 1
    $\begingroup$ Also, you should provide a definition of w if you want people to be able to reproduce & modify your code. $\endgroup$ Commented Nov 8, 2021 at 0:19
  • $\begingroup$ Try the option ExclusionStyle-> $\endgroup$ Commented Nov 8, 2021 at 7:11


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.