the code and picture of four plots