a graphing script to generate plots from output of analyze.py