Skip to content

yticklabels

plot · scripts/plot/appearance/yticklabels.m

: lbl = yticklabels ()
: yticklabels (labels)
: yticklabels ("auto")
: yticklabels ("manual")
: m = yticklabels ("mode")
: yticklabels (ax, …)

Query or set the tick labels of the y axis.

The labels are returned as a column cell array of character vectors. A cell array of character vectors sets them and switches the label mode to "manual"; if fewer labels than ticks are given the list is repeated. "auto" derives the labels from the ticks again.