Re: Plot problem
- To: mathgroup at smc.vnet.net
- Subject: [mg3621] Re: Plot problem
- From: Harald Berndt <haraldb at nature.berkeley.edu>
- Date: Sat, 30 Mar 1996 02:45:29 -0500
- Organization: University of California Forest Prodcts Lab
- Sender: owner-wri-mathgroup at wolfram.com
Pierluigi Puccetti wrote: > f[t_]:=(22.39638707132903 - 38.3879329433359*I)*E^((-0.005 - > 0.999987499921874*I)*t) + > > (7.912734995684308 - 0.5556111312856052*I)*Cos[1.1*t] + > > (-17.89146077765513 + 1.146859050666162*I)*Sin[1.1*t]; > > This function is the solutin > on (obtained with DSolve) of a system of two differential equations. > There are complex numbers, > and I am enable to plot this functions in the time variable. > I am not yet really expert, there is someone that can help me ? You can only plot real valued numbers, but Im[x] is a real number. So are Abs[x], Arg[x] and Re[x]. Plot either one of these. There are some fun ways of plotting two parts of a 2-D vector (like a complex number) together, say by encoding the magnitude as height and the phase (Arg[]) by color. I believe there is an example in the Mathematica book. -- ______________________________________________________________________ Harald Berndt, University of California Research Specialist Forest Products Laboratory Phone: 510-215-4224 FAX: 510-215-4299 ==== [MESSAGE SEPARATOR] ====