psyplot.project.plot.vector

plot.vector(*args, **kwargs)

Make a simple plot of a 2D vector field

This plotting method adds data arrays and plots them via psy_simple.plotters.SimpleVectorPlotter plotters

To plot data from a netCDF file type:

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

Possible formatoptions are

arrowsize

arrowstyle

axiscolor

background

bounds

cbar

cbarspacing

clabel

clabelprops

clabelsize

clabelweight

cmap

color

cticklabels

ctickprops

cticks

cticksize

ctickweight

datagrid

density

extend

figtitle

figtitleprops

figtitlesize

figtitleweight

grid

labelprops

labelsize

labelweight

linewidth

mask

mask_datagrid

maskbetween

maskgeq

maskgreater

maskleq

maskless

plot

post

post_timing

sym_lims

text

ticksize

tickweight

tight

title

titleprops

titlesize

titleweight

transpose

xlabel

xlim

xrotation

xticklabels

xtickprops

xticks

ylabel

ylim

yrotation

yticklabels

ytickprops

yticks

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.vector.keys('labels')

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

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

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