# Twee 2D-krommes import matplotlib.pyplot as plt import numpy as np plt.rcParams["figure.figsize"] = [7, 7] plt.rcParams["figure.autolayout"] = True c = 10 x = np.linspace (0, 1, 1000) y = -4.9010050984 * x**2 + 1 q = x - x + 1 t = c * x fig, ax = plt.subplots () ax.set_xlim ([0.00, c * 0.50]) ax.set_ylim ([0.00, 1.01]) ax.set (xlabel = "ct", ylabel = "z") ax.set_aspect ("equal") ax.plot (t, y, color = "red") ax.plot (t, q, color = "blue") plt.show ()