FUNCTION REFERENCE
yticklabels
Set or query y axis tick labels.
Set or query y axis tick labels.
Syntax
yticklabels(labels)Syntax
yticklabels('auto')Syntax
L = yticklabelsSyntax
yticklabels(ax, ...)Sets the y-axis tick labels from a cell array of character vectors, string array, or character matrix, or restores automatic labels with 'auto'.
Example
plot(1:3); yticks(1:3); yticklabels({'a', 'b', 'c'}); L = yticklabels; numel(L) % 3Differences from MATLAB: TeX markup in tick labels is drawn literally.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.