A function that creates a polar contour plot is not present in MATLAB.
True polar axes are not supported in MATLAB. The POLAR function does the following to create a plot:
1. Accepts polar coordinates
2. Converts the data to Cartesian coordinates and plots them.
3. Draws the polar grid lines and text on a Cartesian axes system.
To create a contour plot in polar coordinates, you will need to follow a similar procedure. The following code shows an example:
[r,t] = meshgrid(0:.1:5,0:pi/30:(2*pi));
z = r - t;
x = r.*cos(t);
y = r.*sin(t);
Next, you can produce the annotations using the POLAR function and create the contour plot:
h = polar(x,y);
hold on;
contourf(x,y,z);
set(h,'Visible','off')
axis off
axis image
Some of the annotations may be obscured when the contour plot is drawn. The most reliable way to work around this issue is to manually redraw them using the Plot Tools GUI or the ANNOTATION function.
Best Answer