Make downsampling in the multi-larva plot adaptive
In the multi-larva plot (also referred to as assay plot), trajectories are downsampled to reduce the amount of data points. Similarly, the moving objects are animated at a 1-fps frame rate. This was done at an early development stage due to using a large trx.mat files with many larvae as test data.
Proposal: Make both spatial and temporal downsampling adaptive, so that it can be completely deactivated in cases of limited amounts of data and admits several levels of data size reduction to be adjusted to the amount of data to be plotted.