Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7025 > unrolled thread

Re: Complex diagram

Started byMurray Eisenberg <murray@math.umass.edu>
First post2011-12-08 10:34 +0000
Last post2011-12-08 10:34 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Complex diagram Murray Eisenberg <murray@math.umass.edu> - 2011-12-08 10:34 +0000

#7025 — Re: Complex diagram

FromMurray Eisenberg <murray@math.umass.edu>
Date2011-12-08 10:34 +0000
SubjectRe: Complex diagram
Message-ID<jbq3qu$ipf$1@smc.vnet.net>
The easiest way is to use David Park's "Presentations" application,
which nicely handles complex variables. See

   http://home.comcast.net/~djmpark/DrawGraphicsPage.html

and the pdf version of his example "Complex Function Plot" at:

   http://www.st-andrews.ac.uk/~pl10/c/djmpark/

For example:

   <<Presentations`

   f[z_] := 2 Re[z] + 3 Im[z] I

    Draw2D[{DrawCartesianMap[f[z], {z, -(1 + I), 1 + I}]},
           Axes -> True]

Typically, you'd want to draw grids, either rectangular (as here) or
polar in the domain and the range, and highlight particular curves or
other sets in the domain and their images in the range. For example:

   domain = {DrawCartesianMap[z, {z, -(1 + I), 1 + I}],
             Red, ComplexCircle[0, 1]};
   image = domain // ComplexMap[f];
   GraphicsRow[{Draw2D[{domain}, Axes -> True],
                Draw2D[{image}, Axes -> True]}]

To do the polar grid, you'd just change DrawCartesianMap to DrawPolarMap 
and specify the range of z in terms of polar coordinates.

Otherwise, with bare Mathematica, you have to use ParametricPlot. For
example:

   ParametricPlot[Through[{Re, Im}[2 x + 3 y I]], {x, -1, 1}, {y, -1, 1}]


On 12/7/11 6:15 AM, =E9=81=93 =E5=8E=9A wrote:
> Can we draw complex funtions's diagram in Mathematica?
>
> For example, draw the picture of z=2*x+I*3*y
>

--
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web