Judging by your graphs, what you need is a differential operation:
Break the wire going from the MEAN output to the graph.
Insert a TIME DOMAIN MATH block (from the ARITHMETIC AND COMPARISON palette)
Make sure it's set for DIFFERENTIAL.
Wire the output to your graph.
See all those negative spikes? That's the transitions in your data. Put a threshold on those, and you'll determine where the changes are.