%% Specify r-Axis Tick Labels for Specific Polar Axes
% Create a polar plot and assign the polar axes object to the variable pax. Ensure that rticks and rticklabels affect the polar axes you just created by specifying pax as the first input argument to the functions.

theta = 0:0.01:2*pi;
rho = 50*sin(2*theta);
polarplot(theta,rho)
pax = gca;

rticks(pax,[10 25 50])
rticklabels(pax,{'r = 10','r = 25','r = 50'})

% Copyright 2012 The MathWorks, Inc.