Re: phase portraits
- To: mathgroup at smc.vnet.net
- Subject: [mg116201] Re: phase portraits
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Fri, 4 Feb 2011 06:58:42 -0500 (EST)
- References: <iig77m$rlk$1@smc.vnet.net>
On Feb 4, 7:44 am, James <icor... at hotmail.com> 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.
It will draw a nice portrait if you put a space between the x and y.
Cheers -- Sjoerd