www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyrAxisTickValuesAndLabelsExample.m
%% Specify _r_-Axis Tick Values and Labels % Create a polar plot. Display tick marks and grid lines along the _r_-axis % at the values 0.1, 0.3, and 0.5. Then, specify a label for each tick % mark. theta = linspace(0,2*pi); rho = theta/10; polarplot(theta,rho) rticks([0.1 0.25 0.5]) rticklabels({'r = .1','r = .3','r = .5'})