By default, plot chooses tick mark locations based on the range of data. When you zoom
in and out of a plot, the tick labels automatically adjust to the new axis limits.Change the x-axis limits. Also, change the format for the tick labels along the x-axis. For a
list of formatting options, see the xtickformat function.xlim(datetime(2014,[7 8],[12 23]))
xtickformat('dd-MMM-yyyy')7 Dates and Time