Logo Search packages:      
Sourcecode: matplotlib version File versions

vertical_ticklabels.py

#!/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()

Generated by  Doxygen 1.6.0   Back to index