Added line to remove previous plots.