code to construct plot3