Re: Mathematica equivalent complexplot
- To: mathgroup at smc.vnet.net
- Subject: [mg57896] Re: Mathematica equivalent complexplot
- From: Jean-Marc Gulliet <jeanmarc.gulliet at 9online.fr>
- Date: Sun, 12 Jun 2005 04:34:18 -0400 (EDT)
- Organization: New York University
- References: <d892u9$sfa$1@smc.vnet.net>
- Reply-to: jmg336 at nyu.edu
- Sender: owner-wri-mathgroup at wolfram.com
raf . wrote: > This is a newbie question, I suppose. I've read as much as I can but cannot > find a straight forward way to implement the complexplot in > Mathematica 5. > > An example call could be complexplot(sin(x+i),x=-Pi..Pi) where sin(x+i) > is a typical function f(x) that maps real to complex and -Pi..Pi is the > domain of f, a..b. Of course, there are various plot options which can > follow and would be included before the closing paren but I think I can > handle that. Hi Ron, What you are looking for is the _ComplexMap_ standard add-on. The following lines should help you to start with it (note we use pure function to code sin(x + i) as Sin[#1 + I]&): In[1]:= Needs["Graphics`ComplexMap`"] In[2]:= CartesianMap[Sin[#1 + I] & , {-Pi, Pi}, {-2, 2}]; In[3]:= PolarMap[Sin[#1 + I] & , {-Pi, Pi}, {-2, 2}]; Also I would urge you to check David Park's _Cardano3_ package (and indeed the whole web site which is full of outstanding add-ons for Mathematica). Have a look at http://home.earthlink.net/~djmp/ Best regards, /J.M.