Plot trajectories

Put in an unnamed namespace.