Re: Color for radial 3d vector field

*To*: mathgroup at smc.vnet.net*Subject*: [mg83051] Re: Color for radial 3d vector field*From*: Szabolcs Horvát <szhorvat at gmail.com>*Date*: Thu, 8 Nov 2007 06:18:03 -0500 (EST)*References*: <fgs7tq$3lc$1@smc.vnet.net>

leonard.smiley at gmail.com wrote: > Is it possible to plot the radial vector field x*d/dx + y*d/dy + z*d/ > dz with the color of the arrows changing (let's say cooling) with the > distance from the origin? (In this case, of course, you could have > color depend on length of arrow) > VectorFieldPlot3D has the ColorFunction options. E.g.\ try ColorFunction -> Hue. In this case the colour function seems to take only a single argument (the length of the vector). -- Szabolcs