Basic of GNUPlot
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
191 B

2 years ago
  1. import matplotlib.pyplot as plt
  2. import numpy as np
  3. noise = np.random.normal(0,1,100)
  4. x = range(0,100)
  5. a = x+noise
  6. np.savetxt('data.csv', a, delimiter=',')
  7. plt.plot(x+noise, 'xk')
  8. plt.show()