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

    %% Specify theta-Axis Tick Values and Labels
% Create a polar plot. Display tick marks and grid lines along the
% _theta_-axis at 0, 90, 180, and 270 degrees. Then, specify a label for
% each tick mark. 

theta = linspace(0,2*pi);
rho = theta/10;
polarplot(theta,rho)

thetaticks([0 90 180 270])
thetaticklabels({'East','North','West','South'})