Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: Vector field plotting on Mathematica ??!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4120] Re: Vector field plotting on Mathematica ??!
  • From: ianc (Ian Collier)
  • Date: Wed, 5 Jun 1996 01:38:42 -0400
  • Organization: Wolfram Research, Inc.
  • Sender: owner-wri-mathgroup at wolfram.com

In article <4ojdde$5i8 at dragonfly.wolfram.com>, biggus at colorado.edu (Jeff) wrote:

> Hi,
> 
> I keep seeing these mathematica graph of vector fields (you know, with the
> arrows, and sometimes even with colors for more information) but I have
> yet to find the damn reference in a Mathematica book on how to do it. How
> how how? And why would the Mathematica manual have a picture of something
> they won't show me how to do? To torture me, I assume!   :^)
> 
> Please please please help me - it's driving me crazy.
> This should be a pretty standard graphing procedure.
> 
> (I'm trying primarily to plot vector fields in electrodynamics.)
> 
> 
> -jeff

2D and 3D vector plots are defined in Graphics`PlotField` and
Graphics`PlotField3D` respectively, two of the standard 
packages distributed with every copy of Mathematica.

They are documented in the "Guide to Standard Mathematica Packages" 
Technical Report (pp 183-191).

Here is a simple example taken from the documentation:

    Needs[ "Graphics`PlotField`"]

    PlotVectorField[ {Sin[x], Cos[y]},
                {x, 0, Pi}, {y, 0, Pi}]

I hope this helps.

--Ian

-----------------------------------------------------------
Ian Collier
Wolfram Research, Inc.
-----------------------------------------------------------
tel:(217) 398-0700   fax:(217) 398-0747    ianc at wolfram.com
Wolfram Research Home Page:         http://www.wolfram.com/
-----------------------------------------------------------

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Series problem
  • Next by Date: Book announcement
  • Previous by thread: Re: Error Tracing - NDSolve
  • Next by thread: Re: Vector field plotting on Mathematica ??!