GeoVectorPlot[vecs]
generates a vector plot from the field of geo vectors vecs.
GeoVectorPlot[{vecs1,vecs2,…}]
generates a separate set of vectors for each vecsi.
GeoVectorPlot
GeoVectorPlot[vecs]
generates a vector plot from the field of geo vectors vecs.
GeoVectorPlot[{vecs1,vecs2,…}]
generates a separate set of vectors for each vecsi.
Details and Options
- GeoVectorPlot plots the direction and magnitude of a vector field over a geographic region using arrows or other discrete markers.
- Sets of vectors vecs can be given in the following forms:
-
GeoVector[…],GeoVectorENU[…],… combined geo vectors {vec1,vec2,…} list of individual geo vectors <|loc1vec1,loc2vec2,…|> association of locations and vectors - The geographic locations loci can be given in the following forms:
-
GeoPosition[{lat,lon}] latitude and longitude Entity[…] geographic entity Dated[ent,date] dated entity - The vectors veci can be given in the following forms:
-
GeoVector[{m,α}] vector with magnitude m and bearing α at posi GeoVectorENU[{ve,vn}] vector with east and north components - Data not given in these forms is ignored in forming the vector plot.
- GeoVectorPlot has the same options as GeoGraphics, with the following additions and changes: [List of all options]
-
ClippingStyle Automatic how to display arrows outside the vector range Method Automatic methods to use for the plot PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLegends None legends for vector fields PlotTheme $PlotTheme overall theme for the plot RegionBoundaryStyle Automatic how to style plot region boundaries RegionFillingStyle Automatic how to style plot region interiors RegionFunction True determine what region to include VectorAspectRatio Automatic width to length ratio for arrows VectorColorFunction Automatic how to color vectors VectorColorFunctionScaling True whether to scale the argument to VectorColorFunction VectorMarkers Automatic shape to use for vectors VectorPoints Automatic the number or placement of arrows VectorRange Automatic range of vector lengths to show VectorScaling None how to scale the sizes of arrows VectorSizes Automatic sizes of displayed arrows VectorStyle Automatic how to draw vectors - The arguments supplied to RegionFunction are lat, lon, vlat, vlon, Norm[vec].
- The value of region in RegionFunction->region can be an entity or geo polygon over which to plot.
- VectorPoints and StreamPoints accept collections of geo positions and entities.
-
AlignmentPoint Center the default point in the graphic to align with AspectRatio Automatic ratio of height to width Axes False whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic ClippingStyle Automatic how to display arrows outside the vector range ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool Epilog {} primitives rendered after the main plot FormatType TraditionalForm the default format type for text Frame False whether to put a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks Automatic frame ticks FrameTicksStyle {} style specifications for frame ticks GeoBackground Automatic style specifications for the background GeoCenter Automatic center coordinates to use GeoGridLines None geographic grid lines to draw GeoGridLinesStyle Automatic style specifications for geographic grid lines GeoGridRange All projected coordinate range to include GeoGridRangePadding Automatic how much to pad the projected range GeoModel Automatic model of the Earth (or other body) to use GeoProjection Automatic projection to use GeoRange Automatic geographic area range to include GeoRangePadding Automatic how much to pad the geographic range GeoResolution Automatic average distance between background pixels GeoScaleBar None scale bar to display GeoServer Automatic specification of a tile server GeoZoomLevel Automatic zoom to use for geographic background GridLines None grid lines to draw GridLinesStyle {} style specifications for grid lines ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels etc. ImageSize Automatic the absolute size at which to render the graphic LabelStyle {} style specifications for labels MetaInformation {} meta-information about the map Method Automatic methods to use for the plot PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLabel None an overall label for the plot PlotLegends None legends for vector fields PlotRange All range of values to include PlotRangeClipping False whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic the final display region to be filled PlotTheme $PlotTheme overall theme for the plot PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} primitives rendered before the main plot RasterSize Automatic raster dimensions for the background data RegionBoundaryStyle Automatic how to style plot region boundaries RegionFillingStyle Automatic how to style plot region interiors RegionFunction True determine what region to include RotateLabel True whether to rotate y labels on the frame Ticks Automatic axes ticks TicksStyle {} style specifications for axes ticks VectorAspectRatio Automatic width to length ratio for arrows VectorColorFunction Automatic how to color vectors VectorColorFunctionScaling True whether to scale the argument to VectorColorFunction VectorMarkers Automatic shape to use for vectors VectorPoints Automatic the number or placement of arrows VectorRange Automatic range of vector lengths to show VectorScaling None how to scale the sizes of arrows VectorSizes Automatic sizes of displayed arrows VectorStyle Automatic how to draw vectors
List of all options
Examples
open all close allBasic Examples (3)
Generate a vector plot from a field of vectors represented by magnitude and bearing:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}]]Generate a vector plot from a field of vectors represented by east and north components:
GeoVectorPlot[GeoVectorENU[GeoPosition[{{17.846644898186348, 84.28514321158684},
{-22.527132728681106, -151.5156139518411}, {53.258549962798426, 35.232759938373306},
{-52.766074467772135, -79.51071798675929}, {-16.0482921618026, 53.137838357122405},
... 316205170223997},
{0.15352631583868614, -0.5402977652327041}, {0.039697575199083346, 0.3739575458840365},
{-0.822218972191743, -0.7123662704234217}, {0.3516998681752077, -0.6825142524774166},
{0.8422000419960662, 0.07177176066509716}}]]Include a legend for the vector magnitudes:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}], PlotLegends -> Automatic]Scope (20)
Data (11)
Plot vectors for a collection of vectors and give a geographical range for the domain:
GeoVectorPlot[IconizedObject[«wind direction»]]Show all of the specified field vectors:
GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> All]Use GeoVector to represent a collection of vectors with modulus m and bearing α:
coords = RandomGeoPosition[50];vects = Table[{RandomReal[], Quantity[RandomReal[{0, 360}], "AngularDegrees"]}, {50}];GeoVectorPlot[GeoVector[coords -> vects]]Use GeoVector to represent a list of individual vectors with modulus m and bearing α at corresponding locations:
data = Table[GeoVector[RandomGeoPosition[] -> {RandomReal[], Quantity[RandomReal[{0, 360}], "AngularDegrees"]}], {50}];GeoVectorPlot[data]Use GeoVectorENU to represent a collection of vectors:
coords = RandomGeoPosition[50];vects = Table[RandomReal[{1, -1}, 2], {50}];GeoVectorPlot[GeoVectorENU[coords -> vects]]data = Table[GeoVectorENU[RandomGeoPosition[] -> RandomReal[{-1, 1}, 2]], {50}];GeoVectorPlot[data]Use QuantityArray to represent an array of quantity vectors:
coords = RandomGeoPosition[20]vectors = QuantityArray[RandomReal[{-1, 1}, {20, 2}], "Kilometers"]GeoVectorPlot[GeoVectorENU[coords -> vectors]]Plot an irregular collection of vectors:
data = Table[{x, y} = RandomReal[{-50, 50}, {2}];GeoVectorENU[GeoPosition[{y, x}] -> {y, -x}], {200}];GeoVectorPlot[data]Show all of the specified field vectors:
GeoVectorPlot[data, VectorPoints -> All]Explicitly set the number of vectors in each direction:
GeoVectorPlot[data, VectorPoints -> {4, 7}]data1 = Table[{x, y} = RandomReal[{-50, 50}, {2}];GeoVectorENU[GeoPosition[{y, x}] -> {y, -x}], {200}];
data2 = Table[{x, y} = RandomReal[{-50, 50}, {2}];GeoVectorENU[GeoPosition[{y, x}] -> {y, x}], {200}];GeoVectorPlot[{data1, data2}]Plot a vector field with vectors placed with specified densities:
Table[GeoVectorPlot[IconizedObject[«wind direction»], PlotLabel -> p, VectorPoints -> p], {p, {Coarse, Fine}}]Plot wind data over the United States:
data = Flatten[Table[{GeoPosition[{lat, long}], WindVectorData[GeoPosition[{lat, long}]]}, {long, -125, -67, 2}, {lat, 25, 50, 1}], 1];GeoVectorPlot[data, RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30]Presentation (9)
Use a specific color for the arrows:
GeoVectorPlot[IconizedObject[«wind direction»], VectorStyle -> RGBColor[1, 0.2, 0], VectorColorFunction -> None]Plot a vector field map with arrows of specified size:
Table[GeoVectorPlot[IconizedObject[«wind direction»], PlotLabel -> s, VectorSizes -> s], {s, {Small, Large}}]Vary the arrow length and arrowhead size:
GeoVectorPlot[IconizedObject[«wind direction»], VectorScaling -> Automatic]Plot a vector field map with arrows colored according to the magnitude of the field:
GeoVectorPlot[IconizedObject[«wind direction»], VectorColorFunction -> "Rainbow"]Use a named appearance to draw the vectors on the map:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, VectorMarkers -> "Drop"]Show the vectors over a satellite map:
GeoVectorPlot[IconizedObject[«wind direction»], GeoBackground -> "Satellite", VectorColorFunction -> "SolarColors"]Use the Albers GeoProjection centered on Champaign, IL:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, GeoProjection -> "Albers", GeoCenter -> ["champaign,il"]]Add grid lines and a scale bar:
GeoVectorPlot[data, GeoProjection -> "Albers", GeoCenter -> ["champaign,il"], GeoGridLines -> Quantity[15, "AngularDegrees"], GeoScaleBar -> "Miles"]Use a theme with high-contrast colors:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, PlotTheme -> "Web"]GeoVectorPlot[data, PlotTheme -> "Web", VectorColorFunction -> "SolarColors"]Plot multiple vector fields using different styles:
data1 = Table[GeoVector[GeoPosition[RandomReal[{-50, 50}, {2}]] -> {1, RandomReal[{0, 360}]}], {200}];data2 = Table[GeoVector[GeoPosition[RandomReal[{-50, 50}, {2}]] -> {1, RandomReal[{0, 360}]}], {200}];GeoVectorPlot[{data1, data2}, VectorColorFunction -> None, VectorStyle -> {Red, Blue}]Options (69)
AspectRatio (4)
By default, the ratio of the height to width for the plot is determined automatically:
GeoVectorPlot[IconizedObject[«wind direction»]]Make the height the same as the width with AspectRatio1:
GeoVectorPlot[IconizedObject[«wind direction»], AspectRatio -> 1]Use numerical value to specify the height-to-width ratio:
GeoVectorPlot[IconizedObject[«wind direction»], AspectRatio -> 1 / 2]AspectRatioFull adjusts the height and width to tightly fit inside other constructs:
plot = GeoVectorPlot[IconizedObject[«wind direction»], AspectRatio -> Full];{Framed[Pane[plot, {150, 75}]], Framed[Pane[plot, {150, 150}]], Framed[Pane[plot, {150, 100}]]}Axes (3)
By default, Axes are not drawn:
GeoVectorPlot[IconizedObject[«wind direction»]]Use AxesTrue to turn on axes:
GeoVectorPlot[IconizedObject[«wind direction»], Axes -> True]Turn each axis on individually:
{GeoVectorPlot[IconizedObject[«wind direction»], Axes -> {True, False}], GeoVectorPlot[IconizedObject[«wind direction»], Axes -> {False, True}]}AxesStyle (4)
Change the style for the axes:
GeoVectorPlot[IconizedObject[«wind direction»], Axes -> True, AxesStyle -> Red]Specify the style of each axis:
GeoVectorPlot[IconizedObject[«wind direction»], Axes -> True, AxesStyle -> {{Thick, Brown}, {Thick, Blue}}]Use different styles for the ticks and the axes:
GeoVectorPlot[IconizedObject[«wind direction»], Axes -> True, AxesStyle -> Green, TicksStyle -> Black]Use different styles for the labels and the axes:
GeoVectorPlot[IconizedObject[«wind direction»], Axes -> True, AxesStyle -> Green, LabelStyle -> Black]Frame (4)
GeoVectorPlot does not use a frame by default:
GeoVectorPlot[IconizedObject[«wind direction»]]Use FrameTrue to draw a frame around the plot:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True]Draw a frame on the left and right edges:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> {{True, True}, {False, False}}]Draw a frame on the left and bottom edges:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> {{True, False}, {True, False}}]FrameLabel (4)
Place a label along the bottom frame of a plot:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True, FrameLabel -> {"label"}]Frame labels are placed on the bottom and left frame edges by default:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True, FrameLabel -> {"latitude", "longitude"}]Place labels on each of the edges in the frame:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True, FrameLabel -> {{"left", "right"}, {"bottom", "top"}}]Use a customized style for both labels and frame tick labels:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True, FrameLabel -> {{"left", "right"}, {"bottom", "top"}}, LabelStyle -> Directive[Bold, Orange]]FrameStyle (2)
Specify the style of the frame:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True, FrameStyle -> Directive[StandardGray, Thick]]Specify the style for each frame edge:
GeoVectorPlot[IconizedObject[«wind direction»], Frame -> True, FrameStyle -> {{Directive[StandardGray, Thick], Red}, {Directive[StandardGray, Thick], Blue}}]GeoBackground (1)
GeoCenter (3)
By default, the world map is located at {0,0} coordinates:
GeoVectorPlot[IconizedObject[«wind direction»]]Center the vectors over the map on Champaign, IL:
GeoVectorPlot[IconizedObject[«wind direction»], GeoCenter -> ["champaign,il"]]Use a different GeoProjection:
GeoVectorPlot[IconizedObject[«wind direction»], GeoProjection -> "Albers", GeoCenter -> ["champaign,il"]]GeoGridLines (1)
Use GeoGridLines to overlay the map with lines of latitude and longitude:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, GeoGridLines -> Automatic]Draw GeoGridLines at specific lines of latitude and longitude:
GeoVectorPlot[data, GeoGridLines -> {Range[0, 50, 10], Range[-150, -40, 10]}]GeoVectorPlot[data, GeoGridLines -> Automatic, GeoProjection -> "Orthographic"]GeoModel (1)
GeoProjection (1)
A world map is shown by default in the "Equirectangular" projection:
data = IconizedObject[«wind direction»];GeoVectorPlot[data]Show the vectors over a map in the Albers projection:
GeoVectorPlot[data, GeoProjection -> "Albers"]Use different map projections:
Table[GeoVectorPlot[data, GeoProjection -> p, PlotLabel -> p], {p, {"Mercator", "Bonne", "Orthographic", "Mollweide"}}]GeoRange (1)
Use GeoRange to define the latitude and longitude coordinate ranges:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, GeoRange -> {{-40, 40}, All}, VectorPoints -> All]GeoVectorPlot[data, GeoRange -> {{-60, 80}, {-170, -30}}, VectorPoints -> All]GeoRangePadding (1)
By default, no padding is added to the vector map:
data = Flatten[Table[{GeoPosition[{lat, long}], WindVectorData[GeoPosition[{lat, long}]]}, {long, -170, -30, 10}, {lat, -60, 80, 10}], 1];GeoVectorPlot[data]Use GeoRangePadding to pad the coordinate range for the map:
GeoVectorPlot[data, GeoRangePadding -> Scaled[0.18]]Use GeoRangePadding to pad the coordinate range for the map:
GeoVectorPlot[data, GeoRangePadding -> Scaled[0.2]]GeoScaleBar (1)
Show a vector map with no geo scale:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, GeoScaleBar -> None]Display the geo scale in kilometers:
GeoVectorPlot[data, GeoScaleBar -> "Kilometers"]Show a geo scale in metric and imperial:
GeoVectorPlot[data, GeoScaleBar -> {"Metric", "Imperial"}]GeoServer (1)
By default, GeoVectorPlot downloads geo background tiles from the Wolfram GeoServer:
data = IconizedObject[«wind direction»];GeoVectorPlot[data, GeoServer -> Automatic]Use an alternative tile server:
GeoVectorPlot[data, GeoServer -> "http://a.tile.openstreetmap.org/`1`/`2`/`3`.png"]GeoZoomLevel (1)
Display wind directions over a map of New York City at the default GeoZoomLevel:
data = Flatten[Table[{GeoPosition[{lat, long}], WindVectorData[GeoPosition[{lat, long}]]}, {long, -74.2591, -73.7003, 0.05}, {lat, 40.4774, 40.9175, 0.05}], 1];GeoVectorPlot[data]Display the vector map at different levels of magnification:
Table[GeoVectorPlot[data, GeoZoomLevel -> z, PlotLabel -> z], {z, {2, 6, 10, 12}}]PerformanceGoal (1)
PlotLabel (1)
PlotLegends (1)
Add legends with placeholder text:
data1 = Table[GeoVector[GeoPosition[RandomReal[{-50, 50}, {2}]] -> {1, RandomReal[{0, 360}]}], {200}];data2 = Table[GeoVector[GeoPosition[RandomReal[{-50, 50}, {2}]] -> {1, RandomReal[{0, 360}]}], {200}];GeoVectorPlot[{data1, data2}, PlotLegends -> Automatic]PlotTheme (1)
RegionBoundaryStyle (3)
Show the region being plotted:
GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30]Specify a style for the boundary:
GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30, RegionBoundaryStyle -> Red]GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30, RegionBoundaryStyle -> Red, RegionFillingStyle -> None]RegionFillingStyle (3)
Show the region being plotted:
GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30]Specify a style for the interior filling:
GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30, RegionFillingStyle -> Red]Specify a style for the boundary style as well:
GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30, RegionFillingStyle -> Red, RegionBoundaryStyle -> Red]RegionFunction (2)
Plot wind data over the United States:
GeoVectorPlot[IconizedObject[«Wind data»], RegionFunction -> ["united states"], GeoRange -> ["united states"], VectorPoints -> 30]Plot wind data over a specific area set by RegionFunction:
GeoVectorPlot[IconizedObject[«wind direction»], RegionFunction -> Function[{lat, lon, vlat, vlon, n}, And[Abs[lat] < 80, -150 < lon < -40]], VectorPoints -> All]VectorAspectRatio (2)
The default aspect ratio for vectors is 1/4:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}]]Change the vector aspect ratio:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}], VectorAspectRatio -> 1 / 8]VectorMarkers (6)
Vectors are drawn as arrows by default:
GeoVectorPlot[IconizedObject[«wind direction»]]Use a named appearance to draw the vectors:
GeoVectorPlot[IconizedObject[«wind direction»], VectorMarkers -> "Drop"]Use different markers for different vector fields:
data1 = Table[GeoVector[GeoPosition[RandomReal[{-50, 50}, {2}]] -> {1, RandomReal[{0, 360}]}], {200}];data2 = Table[GeoVector[GeoPosition[RandomReal[{-50, 50}, {2}]] -> {1, RandomReal[{0, 360}]}], {200}];GeoVectorPlot[{data1, data2}, VectorMarkers -> {"Drop", "Dart"}]By default, markers are centered on vector points:
data = IconizedObject[«wind direction»];coords = ["the americas countries"];GeoVectorPlot[data, VectorMarkers -> "Arrow", VectorPoints -> coords]Start the vectors at the points:
GeoVectorPlot[data, VectorMarkers -> Placed["Arrow", "Start"], VectorPoints -> coords]End the vectors at the points:
GeoVectorPlot[data, VectorMarkers -> Placed["Arrow", "End"], VectorPoints -> coords]Plot the vector field with a named vector style:
GeoVectorPlot[IconizedObject[«wind direction»], VectorMarkers -> "Segment"]Table[GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> 8, PlotLabel -> s, VectorMarkers -> s], {s, {"Arrow", "DotArrow", "ArrowArrow"}}]VectorPoints (7)
Use automatically determined vector points:
GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> Automatic]Show all of the specified field vectors:
GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> All]Use symbolic names to specify the set of field vectors:
Table[GeoVectorPlot[IconizedObject[«wind direction»], PlotLabel -> k, VectorPoints -> k], {k, {Fine, Coarse}}]Create a regular grid of field vectors with the same number of arrows for
and
:
GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> 6]Create a regular grid of field vectors with a different number of arrows for
and
:
GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> {4, 7}]Use a different number of field vectors on a regular grid:
Table[GeoVectorPlot[IconizedObject[«wind direction»], PlotLabel -> n, VectorPoints -> n], {n, 5, 20, 5}]Specify vectors that go through North and South America:
GeoVectorPlot[IconizedObject[«wind direction»], VectorPoints -> ["The americas countries"]]VectorRange (2)
Specify the range of vector norms:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}], VectorRange -> {0.25, 1}]g = GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}], VectorRange -> {0.25, 1}, ClippingStyle -> None]VectorSizes (2)
The sizes of the displayed vectors are determined automatically:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}], VectorScaling -> Automatic]Specify the full range of arrow lengths:
GeoVectorPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}], VectorScaling -> Automatic, VectorSizes -> {0, 1}]VectorScaling (2)
VectorStyle (3)
VectorColorFunction has precedence over colors in VectorStyle:
GeoVectorPlot[IconizedObject[«wind direction»], VectorStyle -> Red]Use VectorColorFunctionNone to specify colors with VectorStyle:
GeoVectorPlot[IconizedObject[«wind direction»], VectorStyle -> Red, VectorColorFunction -> None]Specify other styles for vectors:
GeoVectorPlot[IconizedObject[«wind direction»], VectorStyle -> Thick]Properties & Relations (13)
GeoStreamPlot shows the vector field with continuous streamlines:
GeoStreamPlot[GeoVector[GeoPosition[{{-54.79801473961214, -111.85053058521567},
{-65.56940402358214, 162.89657500795147}, {-81.67990688759895, -93.36222177594851},
{7.785750774919734, 95.44840765141487}, {-6.86571958448036, -40.946398330539864},
{ ... 904, "AngularDegrees"]},
{0.9366099079317551, Quantity[357.70482317743733, "AngularDegrees"]},
{0.8256817194791912, Quantity[242.07227508889662, "AngularDegrees"]},
{0.2661401145642981, Quantity[152.90003252279325, "AngularDegrees"]}}]]Use GeoBubbleChart to show values with scaled bubbles:
states = EntityValue[EntityClass["AdministrativeDivision", "USStatesAllStates"], EntityFunction[e, {e, e["Population"]}]];GeoBubbleChart[states]Use GeoRegionValuePlot to show values with colored regions:
states = EntityValue[EntityClass["AdministrativeDivision", "USStatesAllStates"], EntityFunction[e, {e, e["Population"]}]];GeoRegionValuePlot[states]Use GeoHistogram to aggregate locations into bins:
pts = RandomGeoPosition[["US"], 500];GeoHistogram[pts, "AdministrativeDivision1"]Use GeoSmoothHistogram to generate smooth densities from locations
pts = RandomGeoPosition[["US"], 500];GeoSmoothHistogram[pts]Use GeoListPlot for individual locations:
GeoListPlot[RandomGeoPosition[["Italy"], 500]]Draw contours on a map with GeoContourPlot:
GeoContourPlot[IconizedObject[«locs»] -> IconizedObject[«vals»]]Smoothly shade a map using color with GeoDensityPlot:
GeoDensityPlot[IconizedObject[«locs»] -> IconizedObject[«vals»]]Plot relationships between geographic locations on a map:
GeoGraphPlot[IconizedObject[«nearest US cities»]]Use ListVectorPlot or ListStreamPlot for general data:
data = Table[{y, -x}, {x, -5, 5}, {y, -5, 5}];{ListVectorPlot[data], ListStreamPlot[data]}Use ListVectorDensityPlot or ListStreamDensityPlot to include a density plot of a scalar field:
data = Table[{{y, -x}, x y}, {x, -5, 5}, {y, -5, 5}];{ListVectorDensityPlot[data], ListStreamDensityPlot[data]}Use VectorDisplacementPlot to visualize the effect of a displacement field:
Kenya = Polygon@@CountryData[CountryData["Kenya"], "Polygon"][[1, 1]];VectorDisplacementPlot[{x, y}, {x, y}∈Kenya]Use ListVectorPlot3D and ListStreamPlot3D to visualize 3D vector field data:
data = Table[{z, -x, y}, {x, -1, 1, .1}, {y, -1, 1, .1}, {z, -1, 1, .1}];{ListVectorPlot3D[data], ListStreamPlot3D[data]}Related Guides
Text
Wolfram Research (2019), GeoVectorPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoVectorPlot.html (updated 2020).
CMS
Wolfram Language. 2019. "GeoVectorPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/GeoVectorPlot.html.
APA
Wolfram Language. (2019). GeoVectorPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoVectorPlot.html
BibTeX
@misc{reference.wolfram_2026_geovectorplot, author="Wolfram Research", title="{GeoVectorPlot}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/GeoVectorPlot.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_geovectorplot, organization={Wolfram Research}, title={GeoVectorPlot}, year={2020}, url={https://reference.wolfram.com/language/ref/GeoVectorPlot.html}, note=[Accessed: 12-June-2026]}