MATLAB: What’s the corresponding function to “xtickformat” in Matlab R2015a

functiongraphMATLABplotplottingxtickformat

Hello, I want to use the function:
xtickformat('hh:mm')
in Matlab R2015a, but it told me:
Undefined function or variable 'xtickformat'.
How can I fix this?

Best Answer

You probably are looking for the datetick (link) function.