Joint angles (mean SD) were plotted for a normalized locomotor cycle during spontaneous locomotion (top C, 9-23 steps per animal and top E, 12-41 steps per animal) and during optogenetic-evoked locomotion (bottom C, 4-19 steps and bottom E, 7-27 steps per animal, 8%-15% of laser power in C, 10%-28% of laser power in E). The cycle was defined as the time duration between two consecutive touchdowns of the MTP (seeSTAR Methods).