import pyqplot as qp
import numpy as np

qp.figure('xcaxis_eg', 3, 3)

xx = np.array([1,2,3])
yy = np.array([1,3,2])
qp.pen('none')
qp.brush('777')
qp.bars(xx, yy, 0.8)

qp.pen('k', .5)
qp.textdist(2, 7)
qp.xcaxis('/Categories/', xx, ['One', 'Two', 'Three'])
