plotTrajectories function

Plot the data trajectories