Got it. With the codes I use, only hard iron offsets are taken. But for 2D calibration, both hard iron and soft iron offsets need to be applied.
In the project I am trying to create, when the system starts, if calibration has not been done before, calibration is started and these values are saved to eeprom.
Necessary calculations will be made with the saved values and tilt compensation needs to be applied with MPU6050..
Therefore, I will not be able to use any graphics. So I am trying to find something that will only work on Arduino.