You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
195 B

#pip install matplotlib numpy
import matplotlib.pyplot as plt
import numpy as np
xpoints = np.array([1, 2, 6, 8, 12])
ypoints = np.array([3, 8, 1, 10, 14])
plt.plot(xpoints, ypoints)
plt.show()