additional function for changing gap free data to traced data, by
triggering on an event; centering of the even does not yet work