Skip to content

ztickformat

plot · scripts/plot/appearance/ztickformat.m

: fmt = ztickformat ()
: ztickformat (fmt)
: ztickformat (ax, fmt)

Query or set the numeric format of the tick labels of the z axis.

fmt is a sprintf style format with one numeric conversion, for example "%.2f" or "$%.1f"; the currency names "usd", "eur", "gbp" and "jpy" are also understood. An empty string or "auto" restores the default. The tick positions and the limits are not changed.