Implement plot, plot2, plot3, and plot4

Implement plot, plot2, plot3, and plot4