Overlapping x-axis

Sadly it won't, the code you have posted is incomplete and produces errors, take a look at this guide to learn how to make a proper reproducible example.