%% Control Number of Decimals for r-Axis Tick Labels
% Display the r-axis tick labels with two decimal places. Control the decimal places by passing rtickformat a character vector of a numeric format that uses fixed-point notation for the conversion character and a precision value of 2.

theta = 0:0.01:2*pi;
rho = 50*sin(2*theta);
polarplot(theta,rho)
rtickformat('%.2f')

% Copyright 2012 The MathWorks, Inc.