Gravitational Effect on the Formation of Surface Nanodroplets