Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

How can I plot a complex valued function of one real variable, $f(t)$, as

$$x=-\Re f(t),\ z=\Im\ f(t),\ y=t \space?$$

My aim is a 3-dimensional path, treating the complex valued function as if it was a two real components vector valued function.

For example $e^{it}$ can be visualized as a helix in $\mathbb R^3$, in which, for example, the "east-west" axis ($y$) represents the single real variable: $t$, the "north-south" axis ($x$) represents $-\Re f(t)$, and the "top-down" axis ($z$) represents $\Im\ f(t)$.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Plotting the real vs imaginary parts of $e^{ix}$ should be a circle, not a helix. Using ParametricPlot:

f[x_] := Exp[I x];
ParametricPlot[{Re[f[x]], Im[f[x]]}, {x, 0, 2 Pi}]

enter image description here

In the comments, the OP says that what he really wants is "y should be the real parameter of f, x should be the negative real part, and z should be the imaginary part." One interpretation of this is:

f[x_] := Exp[I x];
ParametricPlot3D[{-Re[f[x]], Im[f[x]], x}, {x, 0, 5 Pi}]

enter image description here

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.