MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plot problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3638] Re: [mg3589] Plot problem
  • From: Robert Pratt <rpratt at math.unc.edu>
  • Date: Sat, 30 Mar 1996 02:48:30 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Define a function complexplot as follows.

complexplot[g_, a_:0, b_:1, xmin_:-10, xmax_:10, ymin_:-10, ymax_:-10]:=
	ParametricPlot[{Re[f], Im[f]}, {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], -20, 20, -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] ====


  • Prev by Date: re:formatting output
  • Next by Date: Few mathematica commands
  • Previous by thread: Re: Plot problem
  • Next by thread: Re: Plot problem