The following plots shows dB gain readings vs. antenna azimuth angle.
Output of run
Measuring ... Detected measurement resolution of 0.574162679426 degrees. Finding peak magnitude and angle ... Normalizing magnitude by adding 22.35dB ... -3dB beamwidth is 5.18062502146 degrees. Centering on beamwidth by rotating readings -177.269061953 degrees ... -120 degree gain = -26.3847224332dB, +120 degree gain = -25.7121735282dB. Writing results to pattern.R Done!