Measure the repetition interval. For a more accurate measurement, measure across say 10 intervals and divide the result by 10. Are you using belts or using threaded rods for the XY axis drive? Is there a correlation between the repetition interval and the belt tooth spacing or threaded rod pitch?