Scaling properties of attenuation and grain size