Re: Plotting Vector Fields in Mathematica 7
- To: mathgroup at smc.vnet.net
- Subject: [mg94140] Re: [mg94075] Plotting Vector Fields in Mathematica 7
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Fri, 5 Dec 2008 05:35:38 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200812041215.HAA27671@smc.vnet.net>
- Reply-to: murray at math.umass.edu
The function for plotting vector fields has changed its name as it now
resides in the kernel and not in a package you have to load, and styling
the vectors, including their heads, is now handled though a single
option. For example:
VectorPlot[{y,-x},{x,-5,5},{y,-5,5},
VectorStyle->{Red,Thickness[0.0025],Arrowheads[0.025]}]
Nikolaus Rath wrote:
> Hello,
>
> In Mathematica 6, there seems to be no way to specify the size of the
> arrow heads used by FlotVectorField. Therefore I resorted to the
> following workaround:
>
> Graphics[{
> Arrowheads[0.02],
> VectorFieldPlot[..][[1,3]] }]
>
> but this depends on the internal structure of the graphics object
> returned by VectorFieldPlot and is therefore likely to cause trouble.
>
> Is this still required in Mathematica 7?
>
>
> Best,
>
> -Nikolaus
>
> --
> =C2=BBIt is not worth an intelligent man's time to be in the majority.
> By definition, there are already enough people to do that.=C2=AB
> -J.H. Hardy
>
> PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
>
--
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
- References:
- Plotting Vector Fields in Mathematica 7
- From: Nikolaus Rath <Nikolaus@rath.org>
- Plotting Vector Fields in Mathematica 7