www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SetRAxisTickLabelsBackToDefaultLabelsExample.m
%% Set r-Axis Tick Labels Back to Default Labels % Create a polar plot and specify the _r_-axis tick values and % corresponding labels. Then, set the _r_-axis tick values and labels back % to the default values. 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'}) %% rticks('auto') rticklabels('auto')