dyntrack.pl.vector_field
- dyntrack.pl.vector_field(DT, density=2, linewidth=1, arrowsize=1, arrowstyle='->', cmap='gnuplot', figsize=(7, 4), show=True, **kwargs)
Plotting counterpart of tl.vector_field.
- Parameters
DT (
DynTrack
) – Adyntrack.DynTrack
object.cmap – Colormap used by
matplotlib.pyplot.countourf()
.density (
float
) – Density of arrows used bymatplotlib.pyplot.streamplot()
.linewidth (
float
) – Arrow line width used bymatplotlib.pyplot.streamplot()
.arrowsize (
float
) – Arrow size used bymatplotlib.pyplot.streamplot()
.arrowstyle – Arrow style used by
matplotlib.pyplot.streamplot()
.color – Arrow color used by
matplotlib.pyplot.streamplot()
.figsize (
tuple
) – Figure size.show (
bool
) – Show the plot, do not return axis.save – Save plot to file
**kwargs – Arguments passed to
matplotlib.pyplot.streamplot()
.
- Returns
- Return type
matplotlib.axes.Axes
if show=True