Re: Plotting Vector Fields in Mathematica 7
- To: mathgroup at smc.vnet.net
- Subject: [mg94104] Re: Plotting Vector Fields in Mathematica 7
- From: ucervan at gmail.com
- Date: Fri, 5 Dec 2008 05:29:07 -0500 (EST)
- References: <gh8hk6$r0t$1@smc.vnet.net>
Manipulate[
VectorPlot[{Sin[ 4 y], -x}, {x, -1, 1}, {y, -1, 1},
VectorScale -> {Automatic, If[scaled, Scaled[size], size],
sfunction}],
{scaled, {True, False}},
{{size, 1}, 0.1, 1.5, 0.05},
{sfunction, {Automatic, None, #1 &, #2 &, #5 &}}
]
-Ulises Cervantes
WRI