MathGroup Archive 2010

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

Search the Archive

VectorPlot on a Circle

  • To: mathgroup at
  • Subject: [mg114766] VectorPlot on a Circle
  • From: "Dave Snead" <dsnead6 at>
  • Date: Thu, 16 Dec 2010 05:49:46 -0500 (EST)
  • References: <ie297c$mrj$> <>


I'm trying to do a vector plot but confine the vectors to a unit circle.

If[Abs[x^2 + y^2 - 1] == 0, {x, y}, {0, 0}], {x, -1, 1}, {y, -1, 1}]
only plots a couple of vectors, not the dense set of vectors that I want.

If[Abs[x^2 + y^2 - 1] <.1, {x, y}, {0, 0}], {x, -1, 1}, {y, -1, 1}]
plots lots of vectors but they're on an annulus rather than a circle.

Is there any way to do this?

Or more generally is there any way to confine the vectors to a curve.
Or, kicking the dimension up by 1, can VectorPlot3D confine the vectors
to a surface?

Dave Snead

  • Prev by Date: Lucas 1874 Fibonacci as binomial sum generalization problem
  • Next by Date: Root search on results of minimization with free parameter
  • Previous by thread: Re: vector/matrix indexed from zero
  • Next by thread: Re: VectorPlot on a Circle