rticks
Set or queryr-axis tick values
Syntax
Description
returns the currentr-axis tick values as a vector.rt
= rticks
rticks('auto')
sets an automatic mode, enabling the axes to determine ther-axis tick values. Use this option if you change the tick values and then want to set them back to the default values.
rticks('manual')
sets a manual mode, freezing ther-axis tick values at the current values. Use this option if you want to retain the current tick values when resizing the axes or adding new data to the axes.
returns the currentr-axis tick labels mode, which is eitherm
= rticks('mode')'auto'
or“手动”
. By default, the mode is automatic unless you specify tick values or change the mode to manual.
Examples
Input Arguments
Output Arguments
More About
Algorithms
Therticks
function sets and queries several axes properties related to ther-axis tick values.