plot_trajectories