better plotHist.py script