Method to plot dynamics