Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.7K Views
|
9 Replies
|
1 Total Like
View groups...
Share
Share this post:

Plot complex numbers in the complex number field

Posted 4 years ago
POSTED BY: Richard Premm
9 Replies
Posted 4 years ago

Can you provide a sample of Pole?

POSTED BY: Rohit Namjoshi

That works. Thanks again a lot, I owe you one!

POSTED BY: Richard Premm
Posted 4 years ago

Re and Im have been in WL since V1.

ListPlot[{Re@#, Im@#} & /@ {1, -1 - I, -1 + I},
 PlotTheme -> "Detailed",
 PlotMarkers -> "OpenMarkers",
 AspectRatio -> Automatic]
POSTED BY: Rohit Namjoshi

My installation doesn't recognize the command ReIm. The help window gives me the info: "AlgebraReIm was available as an add-on package in previous versions of Mathematica and is now available on the web at library.wolfram.com/infocenter/MathSource/6759." The m-file that I can download under this link contains the text:

(* ::Package:: *)
(* :Title: ReIm *)
(* :Summary:
The ReIm package is obsolete. Use instead functionality
provided by Assuming, Assumptions, ComplexExpand, Refine,
and similar functions.
*)
(* :Copyright: Copyright 1990-2007, Wolfram Research, Inc.  *)
Message[General::obspkg,"Algebra`ReIm`"];
BeginPackage["Algebra`ReIm`"]
(*ReIm::obslt =
"The ReIm package is obsolete. Use instead functionality provided by \
Assuming, ComplexExpand, Refine, and similar functions.";*)
EndPackage[]

Seems that ReIm is too old. I tried (and tried to understand) the mentioned commands but none worked.

POSTED BY: Richard Premm
Posted 4 years ago

Simple solution for earlier versions

ListPlot[ReIm@{1, -1 - I, -1 + I},
 PlotTheme -> "Detailed",
 PlotMarkers -> "OpenMarkers",
 AspectRatio -> Automatic]
POSTED BY: Rohit Namjoshi

Thanks, Rohit! I knew about ComplexListPlot in V12 already, but I'm honestly surprised that there is no simply solution in earlier versions. (Maybe in an add-on?) Thanks again!

POSTED BY: Richard Premm
Posted 4 years ago

Hi Richard,

ComplexListPlot was added in V12.

ComplexListPlot[{1, -1 - I, -1 + I}, PlotTheme -> "Detailed", PlotMarkers -> "OpenMarkers"]

enter image description here

POSTED BY: Rohit Namjoshi

Hello Rohit, thanks for your reply.

Pole = {1,-1-I,-1+I}

after import and split. Three little complex numbers. Nothing more. The final graphic should be looking similar to this: enter image description here

POSTED BY: Richard Premm

Moderators' note for the readers: The following thread was suggested for the author of this question before:
https://mathematica.stackexchange.com/questions/7275/how-can-i-generate-this-domain-coloring-plot

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard