Set or query theta-axis tick labels
thetaticklabels(
sets the
theta-axis tick labels for the current axes. Specify
labels
)labels
as a string array or a cell array of character
vectors; for example, {'E','N','W','S'}
. If you specify the
labels, then the theta-axis tick values and tick labels no
longer update automatically based on changes to the axes.
returns
the theta-axis tick labels for the current axes.tl
= thetaticklabels
thetaticklabels('auto')
sets an automatic
mode, enabling the axes to determine the theta-axis
tick labels. Use this option if you set the labels and then want to
set them back to the default values.
thetaticklabels('manual')
sets a manual
mode, freezing the theta-axis tick labels at
the current values.
returns
the current value of the theta-axis tick labels
mode, which is either m
= thetaticklabels('mode')'auto'
or 'manual'
.
By default, the mode is automatic unless you specify the tick labels
or set the mode to manual.
The thetaticklabels
function sets and queries
several polar axes properties related to the theta-axis
tick labels.
ThetaTickLabel
— Property that
stores the text for the theta-axis tick labels.
ThetaTickLabelMode
— Property
that stores the theta-axis tick label mode. When
you set the theta-axis tick labels using thetaticklabels
,
this property changes to 'manual'
.
ThetaTickMode
— Property that
stores the theta-axis tick value mode. When you
set the theta-axis tick labels using thetaticklabels
,
this property changes to 'manual'
.