Plot trajectories

Should we separate logging in a partial class to keep this one reasonably short?