Plotting and logging run