removed scanparams scantype = 2.

What does it do?
Plot beam profile
Automatically plot beam profile for given point scatter number

missing niceness of figure: mm scale on x axis, dB label on y.