Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Issue Plotting e^(ix)' topicStudent Support Forum > General > "Issue Plotting e^(ix)"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
10/17/12 7:36pm

Plot only plots Real functions.

Just plot the Real part

In[1]:= Plot[Re[Exp[I*x]],{x,-6,6}]

Out[1]= <plot snipped>

Overlay plots of the Real and Imaginary parts

In[2]:= Plot[{Re[Exp[I*x]],Im[Exp[I*x]]},{x,-6,6}]

Out[2]= <plot snipped>

Likewise for your next plot

In[3]:= Plot[{Re[Cos[x]+I*Sin[x]],Im[Cos[x]+I*Sin[x]]},{x,-6,6}]

Out[3]= <plot snipped>

URL: ,

Subject (listing for 'Issue Plotting e^(ix)')
Author Date Posted
Issue Plotting e^(ix) Adam 10/17/12 3:07pm
Re: Issue Plotting e^(ix) Bill Simpson 10/17/12 7:36pm
< Previous CommentHelp | Reply To Comment | Reply To Topic