MATLAB Examples

This is an example of how to customize polar axes settings in a plot in MATLAB®.

Read about the polaraxes function in the MATLAB documentation. This feature is available in R2016a or newer.

For more examples, go to MATLAB Plot Gallery

% Create data
theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);

% Create polar plot

% Modify polar axes settings
pax = gca;
pax.ThetaDir = 'clockwise';
pax.FontSize = 12;