Figure 4a from Foliage motion under wind, from leaf flutter to branch buffeting

Matlab code generating figure 4a with raw data