A scaling law of high-order harmonic generation