plot3 script