Fig. 3: Individual swimming trajectories.

The individual swimming trajectories are displayed for the fish following PI (green), APC (gray) or RR (orange) strategies and for the fish showing a random trajectory (purple). Trajectories that followed a lateral displacement are presented as plain line, trajectories that followed a diagonal displacement are presented as dashed lines. The black lines represent the model trajectories. a Individual trajectories cropped to the size of the model trajectories, (b) full individual trajectories. Full trajectories were used to test if the observed distanced matched distance expected by the model (Table 2).