Photoswitching properties of photonic crystals infiltrated with polymer liquid crystals having azobenzene side chain groups with different methylene spacers