%% Show Angle Span
% Create a dipole antenna and plot the directivity at 270 MHz.

d = dipole;
D = pattern(d,270e6,0,0:1:360);
p = polarpattern(D);

%
% Add cursors to the polar plot at approximately 60 and 150 degrees.

addCursor(p,[60 150]);

%
% Show the angle span between the two angles.

showSpan(p,'C1','C2');

% Copyright 2012 The MathWorks, Inc.