Re: direction field plots
- To: mathgroup at smc.vnet.net
- Subject: [mg19738] Re: direction field plots
- From: phbrf at t-online.de (Peter Breitfeld)
- Date: Mon, 13 Sep 1999 02:41:04 -0400
- Organization: das ist ein breites Feld ...
- References: <7relb5$dqs$3@dragonfly.wolfram.com>
- Sender: owner-wri-mathgroup at wolfram.com
mpa3694 at earthlink.net <mpa3694 at earthlink.net> schrieb:
> I'm new to Mathematica and can't seem to find out how to plot
> direction fields for diff eq. Can anyone help? Thanks
>
use the function PlotVectorField. Suppose your diff eq. is
y'=f(x,y) then do
<<Graphics`PlotField`
In[1]:=PlotVectorField[{1,f[x,y]},{x,-3,3},{y,-3,3}]
Out[1]=Graphics
Peter
--
=--=--=--=--=--=--=--=--=--=--=--=--= http://home.t-online.de/home/phbrf =--=
=--= Peter Breitfeld, Saulgau, Germany PGP public key: 08548045 =--=--=