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

    %% Display Text After Each _theta_-Axis Tick Label
% Create a polar plot. Display the tick labels along the _theta_-axis with
% the text "deg" after each value.

th = linspace(0,2*pi);
r = th.^2;
polarplot(th,r)
thetatickformat('%g deg')