initial plot 4 code and graphic