FUNCTION REFERENCE
xtickformat
Set or query x axis tick label format.
Set or query x axis tick label format.
Syntax
xtickformat(fmt)Syntax
f = xtickformatSyntax
xtickformat(ax, ...)Sets TickLabelFormat on the x-axis ruler (datetime, duration, or numeric format string, or 'auto').
Example
plot(datetime(2024,1,1:3), 1:3); xtickformat('dd-MMM'); f = xtickformat % dd-MMMDifferences from MATLAB: Categorical rulers do not support TickLabelFormat.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.