We investigated the variations of 74 microwave ZP structures observed by Chinese Solar Broadband Radio Spectrometer at 2.6–3.8 GHz in 9 solar flares, found that the ratio between the plasma density scale height LN and the magnetic field scale height LB in emission source displays a tendency of decrease during the flaring process, indicates that LB increases faster than the LN during solar flares. The detailed analysis of the step-wise decrease of LN/LB in three typical X-class flares reveals the magnetic field relaxation relative to the plasma density.