Variation of focal switch with spectrum of a broadband laser