Skip to content

zticks

plot · scripts/plot/appearance/zticks.m

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

Query or set the tick positions of the z 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.