MATLAB: How to format datastamp XTick

axisMATLABplot

How to format datastamp XTick in a Matlab plot to just hour:minute?
I tried to use
xtickformat('dd-MMM-yyyy')
But this function, appear, just to be present in the Matlab R2016b version.

Best Answer

I solved this, founding this function
datetick('x','HH:MM')
The is present in the R2016a version.