This application note was designed to display the three components (X, Y, Z) of the magnetic field, and then its module and angle in the serial monitor.
Using the Pmod CMPS2 with Arduino Uno
Application notes for Pmod CMPS2 and Arduino Uno. The 3 components of the magnetic field, module, & angle are displayed in serial monitor
Thanks to Lextronics.