Fix time axis of plot