Guest User

Untitled

a guest
Jul 22nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import matplotlib
  2. import matplotlib.pyplot as plt
  3. import numpy as np
  4.  
  5. # Data for plotting
  6. t = np.arange(0, 1000000, 100000)
  7. s = ranges
  8.  
  9. fig, ax = plt.subplots()
  10. ax.plot(t, s)
  11.  
  12. ax.set(xlabel='Номера', ylabel='Количество счастливых билетов',
  13. title='Распределение счастливых билетов')
  14. ax.grid()
  15.  
  16. fig.savefig("test.png")
  17. plt.show()
Add Comment
Please, Sign In to add comment