# Geparametriseerde 3D-kromme import matplotlib.pyplot as plt import numpy as np from mpl_toolkits import mplot3d plt.figure (figsize = (8, 8)) ax = plt.axes (projection = "3d") t = np.linspace (0, 2 * np.pi, 200) x = - np.sin (t) y = np.cos (t) z = (np.cos (t))**(-2) ax.plot3D (x, y, z, color = "olive") plt.show ()