psyplot.project.plot.mapvector

plot.mapvector(*args, **kwargs)

Plot a 2D vector field on a map

This plotting method adds data arrays and plots them via psy_maps.plotters.VectorPlotter plotters

To plot data from a netCDF file type:

>>> psy.plot.mapvector(filename, name=[['u_var', 'v_var']], ...)

Examples

To explore the formatoptions and their documentations, use the keys, summaries and docs methods. For example:

>>> import psyplot.project as psy

# show the keys corresponding to a group or multiple
# formatopions
>>> psy.plot.mapvector.keys('labels')

# show the summaries of a group of formatoptions or of a
# formatoption
>>> psy.plot.mapvector.summaries('title')

# show the full documentation
>>> psy.plot.mapvector.docs('plot')

# or access the documentation via the attribute
>>> psy.plot.mapvector.plot