A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.quiver.html below:

matplotlib.pyplot.quiver — Matplotlib 3.1.2 documentation

Parameters:
X, Y : 1D or 2D array-like, optional

The x and y coordinates of the arrow locations.

If not given, they will be generated as a uniform integer meshgrid based on the dimensions of U and V.

If X and Y are 1D but U, V are 2D, X, Y are expanded to 2D using X, Y = np.meshgrid(X, Y). In this case len(X) and len(Y) must match the column and row dimensions of U and V.

U, V : 1D or 2D array-like

The x and y direction components of the arrow vectors.

C : 1D or 2D array-like, optional

Numeric data that defines the arrow colors by colormapping via norm and cmap.

This does not support explicit colors. If you want to set colors directly, use color instead.

units : {'width', 'height', 'dots', 'inches', 'x', 'y' 'xy'}, default: 'width'

The arrow dimensions (except for length) are measured in multiples of this unit.

The following values are supported:

The arrows scale differently depending on the units. For 'x' or 'y', the arrows get larger as one zooms in; for other units, the arrow size is independent of the zoom state. For 'width or 'height', the arrow size increases with the width and height of the axes, respectively, when the window is resized; for 'dots' or 'inches', resizing does not change the arrows.

angles : {'uv', 'xy'} or array-like, optional, default: 'uv'

Method for determining the angle of the arrows.

Note: inverting a data axis will correspondingly invert the arrows only with angles='xy'.

scale : float, optional

Number of data units per arrow length unit, e.g., m/s per plot width; a smaller scale parameter makes the arrow longer. Default is None.

If None, a simple autoscaling algorithm is used, based on the average vector length and the number of vectors. The arrow length unit is given by the scale_units parameter.

scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, optional

If the scale kwarg is None, the arrow length unit. Default is None.

e.g. scale_units is 'inches', scale is 2.0, and (u,v) = (1,0), then the vector will be 0.5 inches long.

If scale_units is 'width' or 'height', then the vector will be half the width/height of the axes.

If scale_units is 'x' then the vector will be 0.5 x-axis units. To plot vectors in the x-y plane, with u and v having the same units as x and y, use angles='xy', scale_units='xy', scale=1.

width : float, optional

Shaft width in arrow units; default depends on choice of units, above, and number of vectors; a typical starting value is about 0.005 times the width of the plot.

headwidth : float, optional, default: 3

Head width as multiple of shaft width.

headlength : float, optional, default: 5

Head length as multiple of shaft width.

headaxislength : float, optional, default: 4.5

Head length at shaft intersection.

minshaft : float, optional, default: 1

Length below which arrow scales, in units of head length. Do not set this to less than 1, or small arrows will look terrible!

minlength : float, optional, default: 1

Minimum length as a multiple of shaft width; if an arrow length is less than this, plot a dot (hexagon) of this diameter instead.

pivot : {'tail', 'mid', 'middle', 'tip'}, optional, default: 'tail'

The part of the arrow that is anchored to the X, Y grid. The arrow rotates about this point.

'mid' is a synonym for 'middle'.

color : color or color sequence, optional

Explicit color(s) for the arrows. If C has been set, color has no effect.

This is a synonym for the PolyCollection facecolor parameter.

Other Parameters:
**kwargs : PolyCollection properties, optional

All other keyword arguments are passed on to PolyCollection:

Property Description agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array alpha float or None animated bool antialiased or aa or antialiaseds bool or sequence of bools array ndarray capstyle {'butt', 'round', 'projecting'} clim a length 2 sequence of floats; may be overridden in methods that have vmin and vmax kwargs. clip_box Bbox clip_on bool clip_path [(Path, Transform) | Patch | None] cmap colormap or registered colormap name color color or sequence of rgba tuples contains callable edgecolor or ec or edgecolors color or sequence of colors or 'face' facecolor or facecolors or fc color or sequence of colors figure Figure gid str hatch {'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'} in_layout bool joinstyle {'miter', 'round', 'bevel'} label object linestyle or dashes or linestyles or ls {'-', '--', '-.', ':', '', (offset, on-off-seq), ...} linewidth or linewidths or lw float or sequence of floats norm Normalize offset_position {'screen', 'data'} offsets float or sequence of floats path_effects AbstractPathEffect picker None or bool or float or callable pickradius unknown rasterized bool or None sketch_params (scale: float, length: float, randomness: float) snap bool or None transform Transform url str urls List[str] or None visible bool zorder float

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4