Phaselocking in a Reaction-Diffusion System with a Linear Frequency Gradient