The Y axis follows along the ground plane, and is positive toward true north (that is, the North Pole, not magnetic north) and negative toward true south. The Z axis is perpendicular to the ground plane; think of it as a line drawn between the device and the center of the Earth