Nanoscale electrochemical patterning reveals the active sites for catechol oxidation at graphite surfaces.