# 3D-vectorveld import matplotlib.pyplot as plt import numpy as np x, y, z = np.meshgrid (np.arange (-2, 2, 0.6), np.arange (-2, 2, 0.6), np.arange (-2, 2, 0.6)) u = - y / np.sqrt (x**2 + y**2 + z**2) v = x / np.sqrt (x**2 + y**2 + z**2) w = 0 plt.figure (figsize = (8, 8)) ax = plt.axes (projection = "3d") q = ax.quiver (x, y, z, u, v, w, color = "green", length = 0.5) plt.show ()