fixed spectral plot not centering the y-axis properly