g_eg_slide function

Plot mean values of EG