Re: plotting function w/ Im and Re vals
- To: mathgroup at smc.vnet.net
- Subject: [mg20373] Re: plotting function w/ Im and Re vals
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Sun, 17 Oct 1999 02:45:45 -0400
- References: <7u7sfg$p4e@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Lana,
F[t_] := t - I t;
Plot[{Re[F[t]], Im[F[t]]}, {t, 0, 1},
PlotStyle -> {Hue[0], Hue[2/3]}
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565
]
lanalee <lanalee at aludra.usc.edu> wrote in message
news:7u7sfg$p4e at smc.vnet.net...
> I have a function with Real and Complex parts. What is the easiest way I
> can plot the function? What I'd like to do is have the plots of the Real
> and Complex superimposed on one graph.
>
> pls email me directly, if you have any suggestions..
>
> Lana
> lanalee at scf.usc.edu
>
>
>