The radial gradient of cosmic ray intensity in the Galaxy