Added plotting function for migration and scaling in.