Message Boards Message Boards

Plot with VectorPlot over a region

Posted 6 years ago
POSTED BY: Ehud Behar
3 Replies

It works if you add ImplicitRegion:

VectorPlot[{y, -x}, {x, y} \[Element] 
  ImplicitRegion[(1/4 < x^2 + y^2 && x^2 + y^2 < 9), {x, y}]]
POSTED BY: Gianluca Gorni

You can also use Annulus:

VectorPlot[{y, -x}, {x, y} \[Element] Annulus[{0, 0}, {1/2, 3}]]
POSTED BY: Gianluca Gorni
Posted 6 years ago

Works. Great.

POSTED BY: Ehud Behar
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract