Re: phase portraits
- To: mathgroup at smc.vnet.net
- Subject: [mg116212] Re: phase portraits
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sat, 5 Feb 2011 05:45:46 -0500 (EST)
Don't forget the wonderful function EquationTrekker, in a standard
add-on package EquationTrekker, that's included with Mathematica.
On 2/4/2011 1:41 AM, James wrote:
> Hi,
>
> By far the nicest function in Mathematica to use for phase portraits is StreamPlot. I believe that was a V7 feature. For example, take:
>
> dx=x^2+2xy+y
> dy=2x-3y^2
>
> then:
>
> StreamPlot[{x^2+2xy+y,2x-3y^2},{x,-5,5},{y,-5,5}]
>
> will draw a nice phase portrait.
>
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305