MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Complex/imaginary numbers

  • To: mathgroup at
  • Subject: [mg6652] Re: [mg6614] Complex/imaginary numbers
  • From: "w.meeussen" <w.meeussen.vdmcc at>
  • Date: Wed, 9 Apr 1997 00:34:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

At 23:07 5-04-97 -0500, Heather Lyn Beegle wrote:
>	Does anyone know how you can plot complex numbers/functions  (both
>rectangular and polar) ? I've looked through the help, but so far I have
>not managed to get a plot of it.
>					Thank you,
>					Heather Beegle
>feel free to either post the answer or e-mail me at 
>			robertsn at


check: standard packages, add ons, Graphics`ComplexMap`

or else, maybe something like :


        {Re[f[r E^(I fi)]],Im[f[r E^(I fi)]]}
                                        ,{fi,0,2 Pi},

taking x as a complex argument, swinging 'round the unit circle Arg[x], and
the 'unit'circle radius (Abs[x]) stepwise.

Of course, if x is real and g[x] is complex, then it's trivial (just plot
both Re[g[x]] and Im[g[x]]
or Abs[g[x]] and Arg[g[x]] like:

g[x]:=E^(I x) f[x]

Plot[Evaluate at {Re[g[x]],Im[g[x]]},{x,0,2}]

a propos, if you ever have trouble with a plot, change 'Plot' to 'Table' and
check what's up.
Sometimes you need an 'Evaluate' to get y'r numbers out.


Dr. Wouter L. J. MEEUSSEN
eu000949 at
w.meeussen.vdmcc at

  • Prev by Date: Re: Roots of an equation
  • Next by Date: Re: subscripts in v3
  • Previous by thread: Re: Complex/imaginary numbers
  • Next by thread: 3D plot of function with 3 variables ?