better figure for event-based curves