first plotting code for hit efficiencies