Make Emission Gradient local


I have this sort of sci-fi scene with ambient emission lights. I would like to have a gradient for each of them. Somehow my setup creates a gradient over the entire image rather than localized for each plane that emits. How would I have to change my setup in the node editor to get both emissions upper and lower to have a gradient in Z?

Thank you very much in advance!

Solved it! Making the objects separate instead planes of the same object automatically solved it.