MathGroup Archive 2001

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

Search the Archive

Re: vector field plotting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28487] Re: [mg28474] vector field plotting
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Sun, 22 Apr 2001 01:30:18 -0400 (EDT)
  • References: <200104200824.EAA23072@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Have you loaded the add-on Graphics`PlotField` prior to using
PlotVectorField?
Try - on a fresh session, so as to avoid possible shadowing effects -

In[1]:=
<< Graphics`PlotField`
In[2]:=
PlotVectorField[{Sin[x], Cos[y]}, {x, 0, Pi}, {y, 0, Pi}];

It works like a beauty. Very likely you hadn't loaded the add-on when you
tried to PlotVectorField. If you ever run into this situation, i.e.,
invoking a function which belongs to some add-on package before loading it,
you must first Remove the function and then load the package. Otherwise, it
won't work. Look for "shadowing of names" in the Help Browser or in The
Book.

Tomas Garza
Mexico City
----- Original Message -----
From: "Julian Sweet" <jsweet at engineering.ucsb.edu>
To: mathgroup at smc.vnet.net
Subject: [mg28487] [mg28474] vector field plotting


> I am trying to plot a vector field in cylindrical coordinates.
> The command "PlotVectorField" doesn't appear to be recognized by
> Mathematica. Is there any other easy way to plot a vector field?
>
>
> e-mail appreciated: jsweet at engineering.ucsb.edu
>



  • Prev by Date: Re: Plot DiracDelta[]
  • Next by Date: Re: Plot DiracDelta[]
  • Previous by thread: vector field plotting
  • Next by thread: Re: vector field plotting