Position decoding (top). The horizontal dashed lines denote port locations 1-6. Goal decoding is also shown (bottom). The black vertical line indicates the first lick; the red vertical dashed lines refer to significant change points (see Methods); and the pink horizontal line denotes the mode goal decoded between two change points.