Basic plotting script from Nick. Please read the README for an example and instructions.