Changing axis range for the time plot