Started to add code for plotting flapping data.