First Version of plot4