compare.py can also save plots to file if third argument is given.