ticks = thetaticks()
thetaticks(values)
thetaticks('auto')
thetaticks('manual')
m = thetaticks('mode')
thetaticks(ax, ...)
| 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. |
| Parameter | Description |
|---|---|
| ticks | Numeric row vector of angular tick values in degrees. |
| m | 'auto' or 'manual'. |
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.
polarplot(linspace(0, 2*pi, 80), ones(1, 80));
thetaticks(0:45:360);
ticks = thetaticks()
| Version | Description |
|---|---|
| 2.0.0 | initial version |