added plot to *.png files. ref #7