Paths as arguments and helper plot script

This lets the paths for log file and graph file be arguments, so they don't need to be hardcoded into the script.