fixed plot 4

fixed problem with plot4