This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.

 Graphics`ComplexMap` To plot the graph of a complex-valued function of a complex variable, four dimensions are required as follows: two for the complex variable and two for the complex function value. One method, to circumvent the need for four-dimensional graphics, is to show how the function transforms sets of lines that lie in the complex plane. Each line will be mapped into some curve in the complex plane and these can be represented in two dimensions. The functions CartesianMap and PolarMap defined in this package make pictures of this form. CartesianMap shows the image of Cartesian coordinate lines, while PolarMap shows the effect on polar coordinate lines. Plotting the image of coordinate lines in the complex plane. This loads the package. In[1]:= < True to get frame axes on all our plots. In[2]:= SetOptions[Graphics, Frame -> True]; This shows the Cartesian grid. In[3]:= CartesianMap[Identity, { -5, 5}, { -5, 5}] Out[3]= This is the polar coordinate system. In[4]:= PolarMap[Identity, { 0, 1}, { 0, 2 Pi}] Out[4]= Here is the image of the Cartesian grid under exponentiation. In[5]:= CartesianMap[Exp, { -1, 1}, { -2, 2}] Out[5]= The square root function halves the angle of each complex number. The starting point is moved slightly from -Pi to avoid problems with the branch cut of the square root function. In[6]:= PolarMap[Sqrt, { 0, 1}, { -Pi + 0.0001, Pi}] Out[6]= The option Lines can be used to change the number of lines plotted. You can set the value of \$Lines to change the default number of lines drawn. In[7]:= PolarMap[BesselJ[2, #] &, {0, 8}, {0, Pi/4}, Lines -> 30] Out[7]=