i cant see all of my output in serial plotter of arduino

i separated my variables by comma and end of them i use serial.println("").
i can see all of my variables in serial monitors, but they are not be shown in serial monitor. some of them are not shown.
my code is attached.
would you help me and tell me my mistakes?

// float xf, yf, zf;
 int x, y, z;
////
  if(!mag.isCalibrated()) //If we're not calibrated
{
  if(!mag.isCalibrating()) //And we're not currently calibrating
   {
      Serial.println("Entering calibration mode");
      mag.enterCalMode(); //This sets the output data rate to the highest possible and puts the mag sensor in active mode
   }
   else
  {
////      //Must call every loop while calibrating to collect calibration data
////      //This will automatically exit calibration
////      //You can terminate calibration early by calling mag.exitCalMode();
      mag.calibrate(); 
   }
 }
else
 {
    Serial.println("Calibrated!");
  }
mag.readMicroTeslas(&xf, &yf, &zf); //This divides the values by 10 to get the reading in microTeslas
////
   Serial.print("X_mag: ");//%%%%%%%%%%% ???????????? I CANT CALIBRATE THE Z AXIS
  Serial.print(xf);   
  Serial.print(" ");
 Serial.print(", Y_mag: ");
   Serial.print(yf);
   Serial.print(" ");
 Serial.print(", Z_mag: "); 
 Serial.print(zf/10); 
  Serial.print(" ");

//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%CALIBRATED VALUE OF HMC

//  
compass.setOffset(offX_H,offY_H);
 float   SCALE = 1.22f;
////
Vector norm = compass.readNormalize();
   
Serial.print(" offx = ");
 Serial.print(offX);
 Serial.print("  ");
 Serial.print(" offy = ");
 Serial.print(offY);
 Serial.print("  ");
    
Serial.print(" Xnorm_HMC = ");///// WE DIVIDE THE OUTPUT BY 10, TO CHANGE THE VALUES OF mG TO MICROTESLA
 Serial.print(norm.XAxis/10);
 Serial.print(" ");
Serial.print(" Ynorm_HMC = ");
Serial.print(norm.YAxis/10);
 Serial.print(" ");
Serial.print(" ZNorm_HMC = ");
 Serial.print((norm.ZAxis-offZ_H*SCALE)/10);////%%%%% WE SUBTRAC THE OFFSET BECAUSE AT THE MAIN PROGRAMM JUST THE X AND Y OFFSETS ARE DEFINED.we have to input scale. 
Serial.print(" ");

////%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%CALIBRATED VALUE OF QMC( dont forget setting scale for QMC range)
   int xQ,yQ,zQ;
    qmc.read(&xQ,&yQ,&zQ);
    Serial.print("xQMC_cal=");//%%%%%%%%%%%%%%DIVIDE TO 30 TO GET THE TRUE MICROTESLA OUTPUTS FOR 8G RANGE, IF WE SELECT 2G RANGE, WE HAVE TO DIVIDE BY 120
    Serial.print((xQ-offX_Q)/120);
   Serial.print(" ");
   Serial.print("yQMC_cal=");
    Serial.print((yQ-offY_Q)/120);
   Serial.print(" ");
   Serial.print("zQMC_cal=");
    Serial.print((zQ-offZ_Q)/120);
    Serial.println("");
  
  delay(13);

It's very difficult to read your code due to the inconsistent indentation. Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read. If you're using the Arduino Web Editor you will not have access to this useful tool but it's still unacceptable to post poorly formatted code. I recommend you to use the standard IDE instead.

@ pert
thank you , is it ok?

#include <Wire.h>
#include <MechaQMC5883.h>

MechaQMC5883 qmc;
int minX = 0;
int maxX = 0;
int minY = 0;
int maxY = 0;
int minZ = 0;
int maxZ = 0;
int offX = 0;
int offY = 0;
int offZ = 0;
const long interval = 10000;
unsigned long previousMillis = 0;

void setup() {
  Wire.begin();
  Serial.begin(9600);
  qmc.init();
  // qmc.setMode(Mode_Continuous,ODR_200Hz,RNG_2G,OSR_256);
}

void loop() {

  unsigned long currentMillis = millis();
  if (currentMillis - previousMillis <= interval) {

    int x, y, z;
    qmc.read(&x, &y, &z);
    //  // Determine Min / Max values
    if (x < minX) minX = x;

    if (x > maxX) maxX = x;

    if (y < minY) minY = y;

    if (y > maxY) maxY = y;

    if (z < minZ) minZ = z;

    if (z > maxZ) maxZ = z;

    //   Serial.print(" maxX= ");
    // Serial.print(maxX);
    // Serial.print("  ");
    // Serial.print(" minX= ");
    // Serial.print(minX);
    // Serial.print("  ");
    // Serial.print(" minY= ");
    // Serial.print(minY);
    // Serial.print("  ");
    // Serial.print(" maxY= ");
    // Serial.print(maxY);
    // Serial.print("  ");
    // Serial.print(" minZ= ");
    // Serial.print(minZ);
    // Serial.print("  ");
    // Serial.print(" maxZ= ");
    // Serial.print(maxZ);
    // Serial.println("  ");
  }

  else
  {
    //  Serial.print("CALIBRATED IS DONE FOR 2G RANGE AND FINAL NUMBERS ARE MICROTESLA");
    //
    //    Serial.println(" ");
    //    Serial.println("..................................................");
    offX = (maxX + minX) / 2;
    offY = (maxY + minY) / 2;
    offZ = (maxZ + minZ) / 2;
    int x, y, z;
    qmc.read(&x, &y, &z);
    Serial.print("x: ");
    Serial.print((x - offX) / 30);
    //Serial.print("  ");
    Serial.print("y: ");
    Serial.print((y - offY) / 30);
    //Serial.print("  ");
    Serial.print("z: ");
    Serial.println((z - offZ) / 30);
    delay(100);

  }

}

i just can see the serial monitor, if i delete the calibration codes, i can see both serial monitor and serial plotter.
the code without calibration is :

#include <Wire.h>
#include <MechaQMC5883.h>

MechaQMC5883 qmc;

void setup() {
  Wire.begin();
  Serial.begin(9600);
  qmc.init();
  //qmc.setMode(Mode_Continuous,ODR_200Hz,RNG_2G,OSR_256);
}

void loop() {
  int x, y, z;
  qmc.read(&x, &y, &z);

  Serial.print("x: ");
  Serial.print(x);
  Serial.print(" y: ");
  Serial.print(y);
  Serial.print(" z: ");
  Serial.print(z);
  Serial.println();
  delay(100);
}

do you think it depends on the .cpp and .h files? is there any code in .cpp and . h of libraries to define the plotter?

the cpp and h files are attached too

MechaQMC5883.cpp (1.47 KB)

MechaQMC5883.h (1.05 KB)

  if (currentMillis - previousMillis <= interval) {
  }

Where does previousMillis (stupid name) get assigned a different value?