Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. from matplotlib import pyplot as plt
  2.  
  3. for j in range(1, 4):
  4.     x = []
  5.     y = []
  6.     i = 0
  7.     while i < 5:
  8.         x.append(i)
  9.         y.append(i ** j)
  10.         i += 0.1
  11.     plt.plot(x, y)
  12. plt.axis([0, 25, 0, 25])
  13. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement