Sweeps are aligned to the direction signal. Decoded direction (green arrows) and sweep direction (grey patches) are shown over 12 successive theta cycles (about 1.5 s, same session as in c ) plotted with reference to the animals head direction (horizontal line). Theta cycles are evenly spaced along the horizontal axis.