added 3D code to plot chg difference