add plot4 and code