Re: VectorPlot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg127652] Re: VectorPlot3D
- From: "djmpark" <djmpark at comcast.net>
- Date: Sat, 11 Aug 2012 04:31:52 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <33428097.53696.1344582730853.JavaMail.root@m06>
You could try a less dense vector field, simpler vectors, and use VectorScale to control the size and proportion. VectorPlot3D[rotF[x, y, z], {x, -1, 1}, {y, -1, 1}, {z, -3, 0}, VectorPoints -> 5, VectorScale -> {Medium, 1/2}, VectorStyle -> Automatic] Or: VectorPlot3D[rotF[x, y, z], {x, -1, 1}, {y, -1, 1}, {z, -3, 0}, VectorPoints -> 4, VectorScale -> {Medium, 1/3}, VectorStyle -> "Arrow3D"] In this example the field is constant so you don't need many vectors to show the behavior. If the field is changing rapidly it may be difficult because showing the variation would require many points, but many points will clutter the graphic and obscure the behavior. In that case a dynamic display with fewer, or even a single arrow will help. For a 2D field it is often useful to have a single point locator with the arrow that can be dragged around the domain. For a 3D field it might be useful to simply show the arrows along a horizontal line, and then use two sliders to move the line in the other two directions. Or present several plots, one with all the arrows but perhaps not too dense, and selected slices. In any case, it's clutter that's the problem that must be overcome. David Park djmpark at comcast.net http://home.comcast.net/~djmpark/index.html From: Sergio Miguel Terrazas Porras [mailto:sterraza at uacj.mx] Hi Guys! Plotting certain 3 Dimensional vector fields produces a not so pretty 3D graphics. I looked at the options for VectorPlot3D and did not see any way to control the size of the arrowheads. They are just too big for certain fields. Here is a sample of simple code. <<"VectorAnalysis`" Clear[f] f[x_,y_,z_]={y,-x,0}; rotF[x_,y_,z_]=Curl[f[x,y,z],Cartesian[x,y,z]]; VectorPlot3D[rotF[x,y,z],{x,-1,1},{y,-1,1},{z,-3,0},VectorStyle->"Arrow3D"] Any suggestions as to how to make the vector field look more appealing? Thanks, Sergio Terrazas