# 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") x = np.linspace (0, 3, 1000) y = -0.64760301386 * x**2 + 1.6094757082 * x + 1 z = 0 ax.set_xlim ([0.00, 3.01]) ax.set_ylim ([2.01, 0.00]) ax.set_zlim ([0.00, 1.20]) ax.set (xlabel = "x", ylabel = "z") ax.set_aspect ("equal") ax.plot3D (x, y, z, color = "red") plt.show ()