Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- X = range(1, 8)
- Y = [42586, 5298, 1145, 128, 36, 11, 2]
- bar(X, Y, facecolor='#9999ff')
- axes = gca()
- axes.set_yscale('log')
- xticks(X, X, ha='center')
- for x, y in zip(X, Y):
- text(x + 0.4, y + 0.5, '%i' % y, ha='center', va='bottom')
- plot()
- show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement