Adds code & impage for plot2.