MATLAB: How to plot only half of a polar plot? (i.e. only the lower hemisphere from 90-270)

halfpolar

Hi guys, I require a polar plot to present my data, however I only want to visually plot and represent the lower half of the polar. I wish for it to display only a lower hemisphere semi-circle from 90-270 and not the rest from 0-90 or 270-360.
If anyone knows how I can produce this I would be extremely grateful!
thanks, Mark.

Best Answer

figure
t = 0:.01:2*pi;
polar(t,sin(2*t).*cos(2*t),'--r')
ylim([-0.5 0])