CHG: plotting script.