Updated the Calibration plotting tool with dynamic granularity identification