lims = thetalim()
thetalim([thetamin, thetamax])
thetalim('auto')
thetalim('manual')
m = thetalim('mode')
thetalim(ax, ...)
| Parameter | Description |
|---|---|
| [thetamin, thetamax] | Two-element vector of angular limits in degrees. The second value must be greater than the first value. |
| 'auto' | Use automatic angular limits, currently [0 360]. |
| 'manual' | Keep the current angular limits. |
| 'mode' | Return the angular limits mode. |
| ax | Target polar axes. |
| Parameter | Description |
|---|---|
| lims | Two-element vector of angular limits in degrees. |
| m | 'auto' or 'manual'. |
thetalim gets or sets angular limits for the current polar axes. Unlike polarplot data angles, angular limits are expressed in degrees.
Setting numeric angular limits switches angular limit mode to manual.
theta = linspace(0, pi, 100);
polarplot(theta, sin(theta));
thetalim([0 180]);
lims = thetalim()
| Version | Description |
|---|---|
| 2.0.0 | initial version |