Evolution of scalar spectra with the decay of turbulence in a stratified fluid