MIssion Planner Log Analysis-filter by flight mode

Anyone have any luck plotting time series values filtered by flight mode. For example, I would like to only plot Mode FBWB with ATT.Pitch.

Thanks