www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SetThetaAxisLimitsExample.m

    %% Specify theta-Axis Limits
% Create a polar plot and change the theta-axis limits.

theta = linspace(0,pi);
rho = theta/10;
polarplot(theta,rho)
thetalim([0 180])

%%
% Set the limits back to the original values. 
thetalim('auto')