Upper panel: Distribution of the intervals between respiratory events measured from the end of the first respiratory event to the beginning of the subsequent respiratory event. Middle panel: Distribution of leg movement activity (LMA) around the end (−10 s to +30 s, left middle panel) and the beginning of respiratory events (−30 s to +10 s, right middle panel). The dark parts refer to overlapping LMA, i.e., leg movements that occurred in both intervals, the light gray parts refer to remaining, unique leg movements not contained in the other interval. Of all LMs, 77.2% occurred in either one or both of these intervals. Of these, 69.5% occurred in both intervals, which represents 79.3% of all LMs around the end and 84.8% of all LMs around the onset of respiratory events. Lower panel: Distribution of LMA relative to the duration of the interval between respiratory events. Here, 0% denotes the end of the first event and 100% the start of the subsequent event.