FUNCTION REFERENCE

ytickformat

Set or query y axis tick label format.

Set or query y axis tick label format.

Syntax

ytickformat(fmt)

Syntax

f = ytickformat

Syntax

ytickformat(ax, ...)

Sets TickLabelFormat on the y-axis ruler (datetime, duration, or numeric format string, or 'auto').

Example

plot(1:3, hours(1:3)); ytickformat('hh:mm'); f = ytickformat   % hh:mm

Differences 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.