labels = thetaticklabels()
thetaticklabels(labels)
thetaticklabels('auto')
thetaticklabels('manual')
m = thetaticklabels('mode')
thetaticklabels(ax, ...)
| Parameter | Description |
|---|---|
| labels | Cell array, string array, character vector, or numeric values converted to labels. |
| 'auto' | Generate angular tick labels from angular tick values. |
| 'manual' | Keep current angular tick labels. |
| 'mode' | Return the angular tick label mode. |
| ax | Target polar axes. |
| Parameter | Description |
|---|---|
| labels | Cell array of angular tick labels. |
| m | 'auto' or 'manual'. |
thetaticklabels gets or sets labels displayed next to angular ticks.
Setting labels switches angular tick label mode to manual. The number of displayed labels is matched with the number of visible angular ticks.
polarplot(linspace(0, 2*pi, 80), ones(1, 80));
thetaticks(0:90:360);
thetaticklabels({'E'; 'N'; 'W'; 'S'; 'E'});
labels = thetaticklabels()
| Version | Description |
|---|---|
| 2.0.0 | initial version |