Dependence of Modulation Amplitude on Electron Density in Unidirectional Lateral Superlattices: The Effect of the Thickness of the Two-dimensional Electron Gas