added plot.py written in 20130729