Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Argand diagrams in Mathematica' topicStudent Support Forum > General > "Argand diagrams in Mathematica"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
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: ,

Subject (listing for 'Argand diagrams in Mathematica')
Author Date Posted
Argand diagrams in Mathematica Garth 09/20/03 03:49am
Re: Argand diagrams in Mathematica Henry Lamb 09/24/03 7:04pm
Re: Argand diagrams in Mathematica Patrick D. 07/13/08 12:24pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic