add parameter checks and comments to exampleRun autoplot function