1

I just want to know if there's a way to plot sets in the complex plane. For example $$A=\{z\in \mathbb{C},z+e^{z}=0\},\\A=\{z\in \mathbb{C},\Re(z)+e^{z}\geq0\}.$$

user50618
  • 123
  • 2

1 Answers1

1

You can do f.e.

fun = u + v I + E^(u + v I);

ContourPlot[{Re[fun] == 0, Im[fun] == 0}, {u, -6, 6}, {v, -6, 6}]

enter image description here

eldo
  • 67,911
  • 5
  • 60
  • 168
  • Thank you !! I don't know why parts of the graph has different colors ? – user50618 Jul 31 '14 at 19:34
  • @user50618 Good question. ContourPlot[{Re[fun] == 0, Im[fun] == 0}, {u, -6, 6}, {v, -6, 6}, PlotLegends -> {Re, Im}] – eldo Jul 31 '14 at 21:53
  • 1
    There are two separate functions plotted: the blue lines are for Im[fun] == 0 and the orange lines are for Re[fun] == 0 (mouse over lines in Mathematica and look at the tooltips). Where the blue and orange lines intersect are the points for which fun == 0. – Bob Hanlon Aug 01 '14 at 04:52
  • @BobHanlon Thanks !!! – user50618 Aug 12 '14 at 10:36