First Version of plot3