add plot event