Skip to content

yticks

plot · scripts/plot/appearance/yticks.m

: t = yticks ()
: yticks (vals)
: yticks ("auto")
: yticks ("manual")
: m = yticks ("mode")
: yticks (ax, …)

Query or set the tick positions of the y axis.

Without arguments the present tick positions are returned as a row vector. A numeric vector of finite values sets the positions (stored in ascending order) and switches the tick mode to "manual". "auto" and "manual" select the tick mode and "mode" reports it.