fix pdmp solve_and_plot showing wrong graph