thetaticks
Set or query theta-axis tick values
Syntax
Description
thetaticks(
sets
the theta-axis tick values, which are the locations along
the theta-axis where the tick marks and grid
lines appear. Specify ticks
)ticks
as a vector of increasing
values; for example, [0 90 180 270]
. This command
affects the current axes.
returns
the current theta-axis tick values as a vector.tv
= thetaticks
thetaticks('auto')
sets an automatic mode,
enabling the axes to determine the theta-axis
tick values. Use this option if you change the tick values and then
want to set them back to the default values.
thetaticks('manual')
sets a manual mode,
freezing the theta-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 current theta-axis tick labels mode, which
is either m
= thetaticks('mode')'auto'
or 'manual'
.
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
The thetaticks
function sets and queries
several axes properties related to the theta-axis
tick values.
ThetaTick
— Property that stores the theta-axis tick values.ThetaTickMode
— Property that stores the theta-axis tick value mode. When you set the theta-axis tick values, this property changes to'manual'
.
Version History
Introduced in R2016b