The default Format for a datetime object is:
If I modify the format to include the time zone, Format becomes:
However, when I create a plot with the datetime object, the format of the tick labels does not change. It appears the "Format" property is not used when plotting. Is this true? If so, is there any way to set the format of the datetime object so it will be displayed that way whenever it is plotted? You can use 'xtickformat' after you create the plot, but you have to do that every time you create a plot. Also, this adds the time zone to every tick label, which isn't ideal. It would make more sense if MATLAB handled that in a similar manner to the way it handles the year by default when you plot a datetime object; the year is displayed once, under the rightmost tick label. Is there any way to do this, without resorting to some manual creation of a label on the plot?