Fig. 2: Activity of single S2 neurons during the TPDT and LCT.

a–b Raster plots of two additional S2 neurons tested in both tasks: the TPDT (left) and LCT (right). Only the TPDT trial rows are sorted by correct (black ticks) and incorrect (red ticks) trials for each of the four possible classes, individually. There were no errors during the LCT. Traces below the raster plots are class average firing rates per neuron and condition. Each color refers to one class: G-G (red); G-E (orange); E-G (green); and E-E (blue). Sensory responses endured during the TPDT and the LCT (a), while categorical responses ceased during the LCT (b). Intermediate neurons showed a mix between sensory-invariant and context-dependent categorical responses (see Supplementary Fig. 2).