thetaticks
Set or get angular tick values for polar axes.
📝Syntax
ticks = thetaticks()
thetaticks(values)
thetaticks('auto')
thetaticks('manual')
m = thetaticks('mode')
thetaticks(ax, ...)
📥Input Arguments
Parameter Description
values Numeric vector of angular tick values in degrees.
'auto' Enable automatic angular tick selection and automatic angular tick labels.
'manual' Keep current angular tick values.
'mode' Return the angular tick mode.
ax Target polar axes.
📤Output Arguments
Parameter Description
ticks Numeric row vector of angular tick values in degrees.
m 'auto' or 'manual'.
📄Description

thetaticks gets or sets angular tick values on the current polar axes. Tick values are expressed in degrees.

Setting numeric tick values switches angular tick mode to manual. If angular tick labels are in automatic mode, labels are regenerated from the new values.

💡Examples
Set angular ticks.
polarplot(linspace(0, 2*pi, 80), ones(1, 80));
thetaticks(0:45:360);
ticks = thetaticks()
🔗See Also
thetaticklabelsthetalimrticks
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub