edit plot