new and revised plotting routines, bug fix in getevents method