Improvement in the quality factors for photonic crystal nanocavities via visualization of the leaky components.