Behavior of surface-plasma oscillations on grating surfaces