I plot TIMESERIES and chose a date format to display date and time (e.g. 'dd-mmm-yyyy HH:MM:SS'):
xdate=datenum(['01-Mar-2008 15:45:17'; ... '01-Mar-2008 18:31:01'; ... '01-Mar-2008 21:31:59'],0);plot(xdate,1:3)datetick('x',0)
The resulting plot has date ticks rounded to full hours and extrapolated.
Best Answer