# 2D-vectorveld import matplotlib.pyplot as plt import numpy as np plt.figure (figsize = (8, 8)) x, y = np.meshgrid (np.linspace (-2, 2, 10), np.linspace (-2, 2, 10)) u = x / np.sqrt (x**2 + y**2) v = y / np.sqrt (x**2 + y**2) plt.quiver (x, y, u, v, color = "red") plt.grid () plt.show ()