The meaning of 3 axis values of magnetometer [closed]

Could someone explain to me the meaning of 3 axis x, y & z of Magnetometer

-

closed as off topic by Matthew Read♦Jan 30 '12 at 18:13

Questions on Android Enthusiasts Stack Exchange are expected to relate to Android within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This isn't Android-specific, and general reference. – Matthew Read Jan 30 '12 at 18:13

The magnetic field of a certain point is directional and has magnitude. The x,y,z returned by the sensor is a vector that describes the strength and direction of the magnetic field relative to the device measured in microtesla.

For example, a value of `(x, y, z) = (50, 50, 0)` means that there is a magnetic field `sqrt(50**2+50**2+0**2) ≈ 70.7107` microtesla strong in the direction of 45 degree to X-axis and Y-axis of the device.

-