minor modifications to event plotting