deleted plot_trajectory