Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- rounds = range(1,13)
- smaller = [43.75,50,61.25,58.25,50.5,53.25,64,46,63,53,49.25,57.75]
- bigger = [55,76,74.5,84.75,80,82.25,80.5,86.25,83.25,93.25,87,69.25]
- plt.plot( rounds, smaller, linestyle = '-', color = 'r', label = 'Against smaller weltwerweights' )
- plt.plot(rounds, bigger, linestyle = '-', color = 'g', label = 'Against bigger weltwerweights')
- plt.ylabel('Punch numbers')
- plt.xlabel('Boxing rounds')
- plt.xticks(rounds)
- plt.title("Manny Pacquiao's average number of punches per round")
- plt.legend()
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment