updated plot2 and fixed some errors in coloring.
updated plot3