MathGroup Archive 2012

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

Search the Archive

Re: VectorPlot3D

  • To: mathgroup at
  • Subject: [mg127652] Re: VectorPlot3D
  • From: "djmpark" <djmpark at>
  • Date: Sat, 11 Aug 2012 04:31:52 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • 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] 


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 

From: Sergio Miguel Terrazas Porras [mailto:sterraza at] 

Hi Guys!

Plotting certain 3 Dimensional vector fields produces a not so pretty 3D

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.






Any suggestions as to how to make the vector field look more appealing?


Sergio Terrazas

  • Prev by Date: compact notation for NonCommutativeMultiply that supports cut and paste
  • Next by Date: Re: VectorPlot3D
  • Previous by thread: Re: VectorPlot3D
  • Next by thread: compact notation for NonCommutativeMultiply that supports cut and paste