VectorRange

VectorRange

is an option for VectorPlot and related functions that specifies the range of vector magnitudes to include in a plot.

Details

  • The following settings can be given for VectorRange:
  • Automaticautomatically determine the vectors to include
    Allinclude all vectors
    {min,max}include vectors whose magnitudes are between min and max
  • With the Automatic setting, the distribution of vector magnitudes is found, and any vectors sufficiently far out in the distribution are clipped.
  • The appearance of clipped vectors depends on ClippingStyle.

Examples

open allclose all

Basic Examples  (4)

The range of vector magnitudes shown is automatically chosen:

Omit vectors with magnitudes outside the computed range:

Specify a style to use for clipped vectors:

Show the full range of magnitudes:

Scope  (4)

Specify the range of vector norms to be plotted:

The vectors only change style between the circles where the norms are in the specified range:

Remove the vectors outside of the vector range:

Specify a color to use for out-of-range vectors:

Use red for vectors that are too small and black for those that are too large:

Introduced in 2020
 (12.1)