separate plot option, add function to output picture