Axes.
streamplot
(x, y, u, v, density=1, linewidth=None, color=None, cmap=None, norm=None, arrowsize=1, arrowstyle='-|>', minlength=0.1, transform=None, zorder=None, start_points=None, maxlength=4.0, integration_direction='both', *, data=None)¶Draw streamlines of a vector flow.
Parameters: | x, y : 1D arrays
u, v : 2D arrays
density : float or (float, float)
linewidth : float or 2D array
color : matplotlib color code, or 2D array
cmap :
norm :
arrowsize : float
arrowstyle : str
minlength : float
start_points : Nx2 array
zorder : int
maxlength : float
integration_direction : {'forward', 'backward', 'both'}
|
---|---|
Returns: | stream_container : StreamplotSet
|
Notes
Note
In addition to the above described arguments, this function can take a data keyword argument. If such a data argument is given, the following arguments are replaced by data[<arg>]:
Objects passed as data must support item access (data[<arg>]
) and
membership test (<arg> in data
).
matplotlib.axes.Axes.streamplot
¶