| Author |
Comment/Response |
Henry Lamb
|
09/24/03 7:04pm
The procedure depends on what you want to put into your diagram. For a single complex number represented as a point, you can do something like this.
z=3+4I;
ListPlot[{{Re[z],Im[z]}},AxesOrigin->{0,0},PlotRange->{{-5,5},{-5,5}},AspectRatio->Automatic,AxesLabel->{Re,Im}];
For multiple points, you can do it like this.
z={3+4I,2-3I};
ListPlot[Transpose[{Re[z],Im[z]}],AxesOrigin->{0,0},...];
If you want to represent complex numbers as vectors, you can try this.
<<Graphics`Arrow`
Show[Graphics[Arrow[{0,0},#]&/@Transpose[{Re[z],Im[z]}]],Axes->True,AxesOrigin->{0,0},...];
URL: , |
|