Plot1 and Plot2 along with both codes