Prevent wrap-around when plotting wavelength.