Generation

generate functionSat, 13 May 2023

make 3d field and make 3dcube display line 2d

import numpy as np import matplotlib.pyplot as plt def f(x): return x - 3 x = np.linspace(-10, 10, 100) y = f(x) plt.plot(x, y) plt.show()

Want to kickstart your project?Use the new AI Studio to create your code