Menu

[r3358]: / trunk / htdocs / examples / vertical_ticklabels.py  Maximize  Restore  History

Download this file

8 lines (6 with data), 184 Bytes

1
2
3
4
5
6
7
#!/usr/bin/env python
from pylab import *
plot([1,2,3,4], [1,4,9,16])
locs, labels = xticks([1,2,3,4], ['Frogs', 'Hogs', 'Bogs', 'Slogs'])
setp(labels, 'rotation', 'vertical')
show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.