Note
Go to the end to download the full example code.
Quiver
A field of arrows.

Live figure — pick a tool, then zoom, pan, point-pick or annotate. Nothing is active until a tool is selected.
import numpy as np
import plotpress
g = np.linspace(-2, 2, 16)
X, Y = np.meshgrid(g, g)
U, V = -Y, X
fig, ax = plotpress.subplots()
ax.quiver(X, Y, U, V)
ax.set_aspect("equal"); ax.set_title("quiver")
fig.tight_layout()
Total running time of the script: (0 minutes 0.085 seconds)