Well you can only encounter Axew in the cave in two ways:
- Regular encounter(rare, level 13-15)
- Horde encounter(rare, level 7-8)
So the only way you can encounter one by not going back an forth is using sweet scent and wait for a horde to appear.
Hope I helped.