import numpy as np import matplotlib.pyplot as plt x = np.random.randn(30) y = np.sin(x) plt.plot(x, y, "ro") plt.show()