Re: Plot problem
- To: mathgroup at smc.vnet.net
- Subject: [mg3645] Re: [mg3589] Plot problem
- From: Robert Pratt <rpratt at math.unc.edu>
- Date: Sun, 31 Mar 1996 00:51:55 -0500
- Sender: owner-wri-mathgroup at wolfram.com
This is a correction to my previous message. complexplot should have had {Re[g], Im[g]} in there instead of {Re[f], Im[f]}. Also, the parameter interval [0, 40 Pi] works better than the interval I suggested previously. Define a function complexplot as follows. complexplot[g_, a_:0, b_:1, xmin_:-10, xmax_:10, ymin_:-10, ymax_:-10]:= ParametricPlot[{Re[g], Im[g]}, {t, a, b}, AspectRatio->Automatic, PlotRange->{{xmin, xmax}, {ymin, ymax}}] g is the function to be plotted [a, b] is the parameter interval, with default [0, 1] xmin, xmax, ymin, ymax define a viewing window, with the given defaults So to view the plot of your function f[t_], pick a suitable parameter interval and viewing window. Try complexplot[f[t], 0, 40 Pi, -50, 50, -50, 50] Rob Pratt Department of Mathematics The University of North Carolina at Chapel Hill CB# 3250, 331 Phillips Hall Chapel Hill, NC 27599-3250 rpratt at math.unc.edu On Wed, 27 Mar 1996, Pierluigi Puccetti wrote: > Chiara Mocenni Puccetti > Universita' di Siena - ITALY > > f[t_]:=(22.39638707132903 - 38.3879329433359*I)*E^((-0.005 - > 0.999987499921874*I)*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 ? > > Thanks you > > Chiara > > ==== [MESSAGE SEPARATOR] ====