Make the coordinate consistent

The x means the horizonal distance. y means the vertical distance.