plot_by_subject function

Plot trajectories and density plots of position by subject