Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib
- import matplotlib.pyplot as plt
- x = [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 1, 1, 4, 4, 1, 1, 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]
- MarkerStyle = "x"
- % matplotlib inline
- plt.plot(x, y, color="green")
- plt.scatter(x, y, color="red", markerstyle="x")
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement