Consider a complex path expressed in one real parameter, such as $$f(\alpha)=\frac{1}{e^{i \alpha} + 1},$$ which is a Möbius transformation of the unit circle. I know I can expand it all out and use the parametric plot, but it is cumbersome and not very easy (sometimes practically impossible) to do so.
Therefore, I want to know if there is some plotting function specifically designed for this. (I searched for it in the documentation but did not find it; sorry if it's all obvious.)
ParametricPlot
should be{Re@#, Im@#} &@f[x]
-- not so cumbersome, I think. $\endgroup$ParametricPlot[{Re@#, Im@#} & (1 / (Cos[u] + I Sin[u] + 1)), {u, 0, 2 Pi}]
,ParametricPlot[{Re@#, Im@#} & (1 / (Exp[I u] + 1)), {u, 0, 2 Pi}]
andParametricPlot[{Re[1/(Cos[u] + I Sin[u] + 1)], Im[1/(Cos[u] + I Sin[u] + 1)]}, {u, 0, 2 Pi}]
. None of them worked. The only thing that produced a result wasParametricPlot[{Re[Cos[u] + I Sin[u]], Im[Cos[u] + I Sin[u]]}, {u, 0, 2 Pi}]
. $\endgroup$@
. $\endgroup$@
does not seem to help though, and note there's simply no@
ParametricPlot[{Re[1/(Cos[u] + I Sin[u] + 1)], Im[1/(Cos[u] + I Sin[u] + 1)]}, {u, 0, 2 Pi}]
, it is explicit. Maybe you could open up a Mathematica session and give them a try? At least they don't work in my 9.0.1.0 student edition. $\endgroup$ParametricPlot[{Re[Cos[u] + I Sin[u]], Im[Cos[u] + I Sin[u]]}, {u, 0, 2 Pi}]
does work. $\endgroup$