%% Set theta-Axis Tick Labels for Specific Polar Axes
% Create a polar plot and assign the polar axes object to the variable pax. Then, specify the theta-axis tick values and labels for the polar axes. Ensure that the thetaticks and thetaticklabels functions affect pax by passing the polar axes object as the first input argument to the functions.

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

thetaticks(pax,[0 90 180 270])
thetaticklabels(pax,{'East','North','West','South'})

% Copyright 2012 The MathWorks, Inc.