plot3 done and tested