Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import matplotlib
  2. import matplotlib.pyplot as plt
  3. x = [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 1, 1, 4, 4, 1, 1, 4]
  4. y = [1, 2, 3, 4, 4, 3, 2, 1, 1, 2, 3, 4, 4, 3, 2, 1, 1, 2, 2, 3, 3, 4, 4]
  5. MarkerStyle = "x"
  6. % matplotlib inline
  7. plt.plot(x, y, color="green")
  8. plt.scatter(x, y, color="red", markerstyle="x")
  9. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement