Completed plot function for each integration time step