Adapt to the varied frequency band for spectrum display.